kwin/autotests/wayland
Martin Gräßlin 921e27257c [wayland] Ensure that pointer enter event carries the correct coordinates
So far KWin's pointer surface enter handling was:
1. update fouced surface
2. update the global position

On client side this resulted in:
1. Enter with incorrect coordinates
2. move event to correct coordinate

With QtWayland this results in the case of multiple surfaces in one
application that Qt doesn't properly process the enter event and the
Window never getting pointer focus and not reacting on any pointer
input events.

The root problem is that the KWayland server API is not ideal for
supporting this situation. There is an API call for setting the global
position (which causes a pointer motion for the focused surface) and
an API call to update the focused surface. But a combination for both
is (still) missing.

This change addresses the problem by first unsetting the entered surface,
then updating the global position and afterwards setting the new surface.
Thus the position is correct. While this needs to be made better in
KWayland, this is an urgency bug fix to get the behavior correct and thus
first working around the API deficit and not first extending in KWayland.

Reviewed-By: bshah
2016-08-08 13:38:43 +02:00
..
data/anim-data-delete-effect [autotest] Don't crash when cancel animation from animationEnded in scripted effect 2016-02-17 13:59:55 +01:00
CMakeLists.txt Don't crash if a decoration doesn't get created 2016-06-23 11:28:08 +02:00
debug_console_test.cpp Rename abstract_backend.(h|cpp) to platform.(h|cpp) 2016-04-07 16:18:12 +02:00
decoration_input_test.cpp Support touch events in DecorationEventFilter 2016-05-17 07:33:02 +02:00
dont_crash_aurorae_destroy_deco.cpp Merge branch 'Plasma/5.6' 2016-05-12 16:43:12 +02:00
dont_crash_cancel_animation.cpp Rename abstract_backend.(h|cpp) to platform.(h|cpp) 2016-04-07 16:18:12 +02:00
dont_crash_empty_deco.cpp Merge branch 'Plasma/5.6' 2016-04-26 13:13:17 +02:00
dont_crash_glxgears.cpp Rename abstract_backend.(h|cpp) to platform.(h|cpp) 2016-04-07 16:18:12 +02:00
dont_crash_no_border.cpp Don't crash if a decoration doesn't get created 2016-06-23 11:28:08 +02:00
input_stacking_order.cpp Rename abstract_backend.(h|cpp) to platform.(h|cpp) 2016-04-07 16:18:12 +02:00
internal_window.cpp Support touch events on KWin internal windows 2016-05-23 18:40:06 +02:00
kwin_wayland_test.cpp Connect Application::screensCreated to WaylandServer::initOutputs 2016-05-02 15:52:07 +02:00
kwin_wayland_test.h Fix typo 2016-02-11 09:34:19 +01:00
lockscreen.cpp [autotest/intergration] Wait for pointer enter before simulating button press 2016-08-08 13:38:02 +02:00
maximize_test.cpp Introduce a RequestGeometryBlocker in ShellClient 2016-06-14 07:40:14 +02:00
move_resize_window_test.cpp Warp the cursor pos to the specificed global position in a NET::Move request 2016-04-18 07:50:06 +02:00
plasma_surface_test.cpp Do not activate on-screen-display windows 2016-06-17 09:26:15 +02:00
plasmawindow_test.cpp Update Keyboard focus when the Surface of the active client changes 2016-06-26 16:07:31 +02:00
platformcursor.cpp Rename abstract_backend.(h|cpp) to platform.(h|cpp) 2016-04-07 16:18:12 +02:00
pointer_input.cpp [wayland] Ensure that pointer enter event carries the correct coordinates 2016-08-08 13:38:43 +02:00
quick_tiling_test.cpp Rename abstract_backend.(h|cpp) to platform.(h|cpp) 2016-04-07 16:18:12 +02:00
shade_test.cpp [autotests] Add test case for verifying that (un)shade keeps window geometry 2016-05-11 10:43:27 +02:00
shell_client_test.cpp Handle ShellClient::windowShown in Workspace 2016-06-16 11:13:59 +02:00
start_test.cpp Rename abstract_backend.(h|cpp) to platform.(h|cpp) 2016-04-07 16:18:12 +02:00
struts_test.cpp Fix the ignore struts multi-screen handling 2016-06-15 14:48:13 +02:00
touch_input_test.cpp Rename abstract_backend.(h|cpp) to platform.(h|cpp) 2016-04-07 16:18:12 +02:00
transient_no_input_test.cpp Rename abstract_backend.(h|cpp) to platform.(h|cpp) 2016-04-07 16:18:12 +02:00
transient_placement.cpp Rename abstract_backend.(h|cpp) to platform.(h|cpp) 2016-04-07 16:18:12 +02:00