Key release events wake up monitors in DPMS standby
(this issue may not be filed against the right project - I don't know exactly which code wakes the monitors back up)
- hold shift
- run
xset dpms force standby
- release shift after a second
- monitors go to standby but then immediately wake back up
This has been a problem for years, and developers appear to workaround it by adding something like "sleep 1" before running a screen locker (e.g. see the xflock4 commit at https://gitlab.xfce.org/xfce/xfce4-session/-/issues/178 ).
I wonder if it would be possible to fix the root cause by waking up on key press events as usual, but just ignoring key release events?