16a33f662b
InputRedirection connects to lockStateChanged to udate the current pointer window. This way we can ensure that the current pointer surface gets reset as soon as the screen locks (c.f. the expect fail in the autotest) and also that it restores to the surface under the mouse once the screen is unlocked. The relevant code was not yet lock screen aware and performed an early exit. Part of the code was fine, e.g. findToplevel is lock screen aware. So this change adjusts the methods for updating the internal window and decoration to be lock screen aware, that is they get reset. With that updatePointerWindow is also lock screen aware. Thus the LockScreenFilter can also use updatePointerWindow just like the normal handling and does not need to reimplement parts of it. As it now relies on other code being correct it has an additional check to verify that the current pointer surface is a surface which is allowed to get events. If it isn't the events are not forwarded. Reviewed-By: Bhushan Shah |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
decoration_input_test.cpp | ||
dont_crash_glxgears.cpp | ||
internal_window.cpp | ||
kwin_wayland_test.cpp | ||
kwin_wayland_test.h | ||
lockscreen.cpp | ||
move_resize_window_test.cpp | ||
quick_tiling_test.cpp | ||
start_test.cpp | ||
touch_input_test.cpp | ||
transient_no_input_test.cpp |