jhe2 / gmu

The Gmu Music Player
GNU General Public License v2.0
24 stars 16 forks source link

Lock mode doesn't turn off the screen #3

Closed pcercuei closed 3 years ago

pcercuei commented 3 years ago

With the following config:

Modifier=R
Lock=Mod+Select
Unlock=Mod+Select

Pressing R+Select locks, and pressing again unlocks, that works fine.

However, the screen is turned OFF while R+Select is kept pressed, but will be turned ON again (with a black screen) as soon as the Select button is released. I would expect it to stay OFF until the unlock pattern is entered.

Note that assigning different key combos to Lock/Unlock does not change the problem - the screen will still turn ON as soon as the keys are released.

pcercuei commented 3 years ago

Ok, some progress: it only happens if I launch GMU from the command line - launching it as a regular app, the sleep mode works fine. So I believe it might not by GMU's fault.