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
clipboard.h
databridge.cpp
databridge.h
dnd.cpp
dnd.h
drag.cpp
drag.h
drag_wl.cpp
drag_wl.h
drag_x.cpp
drag_x.h
selection.cpp
selection.h
selection_source.cpp
selection_source.h
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