kwin/autotests/wayland
Martin Gräßlin 7adf69dece Update Keyboard focus when the Surface of the active client changes
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
2016-06-26 16:07:31 +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/wayland] Force kscreenlocker_greet to QMLSCENE_DEVICE softwarecontext 2016-06-03 14:18:45 +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 [autotests/wayland] Try to make PointerInputTest::testMouseActionActiveWindow more robust 2016-05-23 11:19:29 +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