7adf69dece
Summary: For XWayland windows the window might be activated before the Wayland Surface is set for it. Thus the keyboard focus is not passed to the window. Only on the next activate after the window got created the window got keyboard focus. This change addresses this problem by emitting a signal from Toplevel when the surface changes. The KeyboardInput listens to this signal for the active client and updates keyboard focus again if the surface changes. Thus keyboard focus is properly passed to XWayland windows. Test Plan: Test case which creates an X11 window is adjusted to verify the condition. Reviewers: #plasma_on_wayland, #kwin Subscribers: plasma-devel, kwin Tags: #plasma_on_wayland, #kwin Differential Revision: https://phabricator.kde.org/D2009 |
||
---|---|---|
.. | ||
data/anim-data-delete-effect | ||
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 | ||
plasma_surface_test.cpp | ||
plasmawindow_test.cpp | ||
platformcursor.cpp | ||
pointer_input.cpp | ||
quick_tiling_test.cpp | ||
shade_test.cpp | ||
shell_client_test.cpp | ||
start_test.cpp | ||
struts_test.cpp | ||
touch_input_test.cpp | ||
transient_no_input_test.cpp | ||
transient_placement.cpp |