kwin/autotests/wayland
Martin Gräßlin 16a33f662b Improve lock screen interaction for pointer in InputRedirection
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
2016-02-11 08:09:10 +01:00
..
CMakeLists.txt [autotest] Add test for touch input 2016-02-09 11:35:15 +01:00
decoration_input_test.cpp [autotest] Move window through decoration 2016-02-04 15:07:03 +01:00
dont_crash_glxgears.cpp [autotests] Test case for 10ad9262a1 2015-10-22 10:08:49 +02:00
internal_window.cpp [autotests] Test case for key events on internal windows 2016-02-08 15:03:21 +01:00
kwin_wayland_test.cpp [autotests/wayland] Disable KActivities in the tests 2015-12-18 16:40:52 +01:00
kwin_wayland_test.h Maintenance - fixing naming typos 2016-02-09 17:20:12 +01:00
lockscreen.cpp Improve lock screen interaction for pointer in InputRedirection 2016-02-11 08:09:10 +01:00
move_resize_window_test.cpp Move implementation of (shrow|grow)(Horizontal|Vertical) to AbstractClient 2015-10-26 15:49:03 +01:00
quick_tiling_test.cpp [autotests] Test quick tiling when moving a window with the Pointer 2016-02-01 09:28:06 +01:00
start_test.cpp
touch_input_test.cpp Clear touch ids when canceling a touch sequence 2016-02-11 08:09:10 +01:00
transient_no_input_test.cpp [wayland] Honor ShellSurfaceInterface::acceptsKeyboardFocus in ::wantsInput 2015-10-08 12:51:49 +02:00