kwin/autotests
Martin Gräßlin 6bee7f4aac KillWindow support for Wayland windows
Summary:
AbstractClient gains a new pure virtual killWindow method and this gets
implemented in ShellClient.

ShellClient performs the killing by sending a term signal to the
process. This can only work if the client connected through the socket
and didn't get a socketpair fd passed. In that case the pid is KWin's
and KWin doesn't want to terminate. Thus this is special handled to
destroy the connection instead.

In case terminating the process has no effect, the connection gets
destroyed after five seconds.

The KillWindow is adjusted to operate on AbstractClient instead of
Client.

This implements T4463.

Test Plan: Killed windows and auto test

Reviewers: #kwin, #plasma_on_wayland

Subscribers: plasma-devel, kwin

Tags: #plasma_on_wayland, #kwin

Differential Revision: https://phabricator.kde.org/D3370
2016-11-17 14:06:42 +01:00
..
integration KillWindow support for Wayland windows 2016-11-17 14:06:42 +01:00
libinput [libinput] Load/store device configuration 2016-11-07 13:45:48 +01:00
libkwineffects [libkwineffects] Port getXServerVersion from X11 to xcb 2016-08-23 11:45:59 +02:00
libxrenderutils [autotests] Add missing add_test() 2016-09-08 15:24:21 +02:00
tabbox Support highlighting windows through EffectsHandlerImpl 2016-09-13 08:36:12 +02:00
abstract_client.h
client.h
CMakeLists.txt Remove KWin::display from kwinglobals 2016-11-16 18:00:00 +01:00
fakeeffectplugin.cpp
fakeeffectplugin.json
fakeeffectplugin_version.cpp
fakeeffectplugin_version.json
mock_abstract_client.cpp Add hint similar to autohide to raise/lower a window 2015-10-12 10:37:16 +01:00
mock_abstract_client.h Implement show on screen edge for Wayland 2016-10-05 07:51:47 +02:00
mock_client.cpp Add hint similar to autohide to raise/lower a window 2015-10-12 10:37:16 +01:00
mock_client.h Implement show on screen edge for Wayland 2016-10-05 07:51:47 +02:00
mock_effectshandler.cpp
mock_effectshandler.h [effects] Add interactive window selection mode to ScreenshotEffect 2016-11-17 14:06:01 +01:00
mock_screens.cpp
mock_screens.h
mock_workspace.cpp
mock_workspace.h
test_builtin_effectloader.cpp [autotests] Add Q_CONSTRUCTOR_FUNCTION to X11 specific tests to force xcb 2016-09-08 15:22:48 +02:00
test_client_machine.cpp Remove KWin::display from kwinglobals 2016-11-16 18:00:00 +01:00
test_plugin_effectloader.cpp [effects] Drop the logout effect 2016-08-24 10:09:22 +02:00
test_screen_edges.cpp Remove KWin::display from kwinglobals 2016-11-16 18:00:00 +01:00
test_screen_paint_data.cpp Pass the current output geometry to ScreenPaintData 2016-10-17 09:02:30 +02:00
test_screens.cpp
test_scripted_effectloader.cpp Fix for failing testScriptedEffectsLoader 2016-11-16 16:53:17 +01:00
test_virtual_desktops.cpp VirtualDesktopGrid operates on VirtualDesktop objects 2016-11-15 07:20:23 +01:00
test_window_paint_data.cpp
test_xcb_size_hints.cpp Remove KWin::display from kwinglobals 2016-11-16 18:00:00 +01:00
test_xcb_window.cpp Remove KWin::display from kwinglobals 2016-11-16 18:00:00 +01:00
test_xcb_wrapper.cpp Remove KWin::display from kwinglobals 2016-11-16 18:00:00 +01:00
test_xrandr_screens.cpp Support multiple event types in X11EventFilter 2016-11-16 07:48:19 +01:00
testutils.h [autotests] Add Q_CONSTRUCTOR_FUNCTION to X11 specific tests to force xcb 2016-09-08 15:22:48 +02:00
workspace.h