f0dc01b352
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 |
||
---|---|---|
.. | ||
data/anim-data-delete-effect | ||
effects | ||
helper | ||
scripting | ||
CMakeLists.txt | ||
debug_console_test.cpp | ||
decoration_input_test.cpp | ||
dont_crash_aurorae_destroy_deco.cpp | ||
dont_crash_cancel_animation.cpp | ||
dont_crash_empty_deco.cpp | ||
dont_crash_glxgears.cpp | ||
dont_crash_no_border.cpp | ||
input_stacking_order.cpp | ||
internal_window.cpp | ||
kwin_wayland_test.cpp | ||
kwin_wayland_test.h | ||
lockscreen.cpp | ||
maximize_test.cpp | ||
move_resize_window_test.cpp | ||
no_xdg_runtime_dir_test.cpp | ||
plasma_surface_test.cpp | ||
plasmawindow_test.cpp | ||
platformcursor.cpp | ||
pointer_input.cpp | ||
quick_tiling_test.cpp | ||
scene_opengl_test.cpp | ||
scene_qpainter_test.cpp | ||
screen_changes_test.cpp | ||
screenedge_client_show_test.cpp | ||
shade_test.cpp | ||
shell_client_test.cpp | ||
start_test.cpp | ||
struts_test.cpp | ||
test_helpers.cpp | ||
touch_input_test.cpp | ||
transient_no_input_test.cpp | ||
transient_placement.cpp | ||
xclipboardsync_test.cpp |