gloriousctl icon indicating copy to clipboard operation
gloriousctl copied to clipboard

Fix active resolution slot handling

Open staticssleever668 opened this issue 1 year ago • 0 comments

  • Subtract 1 from read active DPI slot as it is 1-indexed This fixes off by one error in showing active DPI slot.

  • Only count enabled resolution slots when comparing slot indexes.

This is also how it's done in libratbag.

This tackles one of the problems mentioned in #18.

staticssleever668 avatar Jul 16 '23 20:07 staticssleever668