kwin/xwl
Vlad Zahorodnii 19ad172584 Survive Xwayland crashes
If the Xwayland process crashes, it will bring down the entire session
together with itself. Obviously, we don't want that. At least, Wayland
clients should survive the crash.

This change refactors relevant X11 parts to handle Xwayland crashes in a
less fatal way.

In order to handle Xwayland crashes better, a pair of start() and stop()
methods had been introduced in the Xwayland class to allow starting and
stopping the Xwayland process at any moment.

If we detect that the Xwayland process has crashed, we will immediately
stop the Xwayland server, which in its turn will deactivate the socket
notifier and destroy all connected X11 clients. Unfortunately, a couple
of subtle changes in X11Client::releaseWindow() and Unmanaged::release()
had to be made to ensure that we are left with a valid state after the
Xwayland server has been stopped.
2020-08-05 08:48:00 +00:00
..
clipboard.cpp [xwl] Fix clipboard clearing after externally changed 2020-06-12 09:46:39 +01:00
clipboard.h [xwl] Fix clipboard clearing after externally changed 2020-06-12 09:46:39 +01:00
databridge.cpp [xwl] Fix xcb to wayland clipboard 2020-06-29 15:06:33 +01:00
databridge.h
dnd.cpp [xwl] Update to kwaylandserver changes 2020-05-26 12:38:18 +01:00
dnd.h
drag.cpp
drag.h
drag_wl.cpp
drag_wl.h
drag_x.cpp [xwl] Update to kwaylandserver changes 2020-05-26 12:38:18 +01:00
drag_x.h
selection.cpp xwayland: Remove mysterious Q_FALLTHROUGH macros 2020-07-29 12:11:57 +00:00
selection.h
selection_source.cpp [xwl] Update to kwaylandserver changes 2020-05-26 12:38:18 +01:00
selection_source.h [xwl] Update to kwaylandserver changes 2020-05-26 12:38:18 +01:00
transfer.cpp
transfer.h
xwayland.cpp Survive Xwayland crashes 2020-08-05 08:48:00 +00:00
xwayland.h Survive Xwayland crashes 2020-08-05 08:48:00 +00:00
xwayland_interface.cpp
xwayland_interface.h Add a simple test to check Xwayland dying 2020-08-05 08:48:00 +00:00