gloriousctl
gloriousctl copied to clipboard
Fix active resolution slot handling
-
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.