So far the DrmOutput connected to all input events when going into power saving. As we now have the input filters it's better to just install a filter when an output goes into powersave and remove the input filter again when all outputs are enabled again. To make this work InputRedirection gains a new method to add a new filter as the first filter. This is a potentially dangerous method as it allows to have a filter before LockScreenFilter gets the events. But in case of DPMS it's something we actually want. A nice new feature possible with the input filter is that we can filter out the event which re-enables the outputs. Thus when getting on a system with output off and screen locked, the first key hit doesn't go to the lock screen. Reviewed-By: Bhushan Shah BUG: 341201 Fixed-in: 5.6.0 (Wayland-only) |
||
---|---|---|
.. | ||
drm | ||
fbdev | ||
hwcomposer | ||
virtual | ||
wayland | ||
x11 | ||
CMakeLists.txt |