kwin/helpers/xclipboardsync
Martin Gräßlin 572f730e8e [helper] Terminate xclipboardsyncer if kwin_wayland goes down
Summary:
Normally the xclipboardsyncer should terminate because the socket
becomes unusable. But we have reports of it not really going down and
running amok.

In order to prevent such situations this change registers SIGTERM to be
sent to xclipboardsyncer when the parent process (that is kwin_wayland)
dies in whatever way. This ensures that xclipboardsyncer cannot become
an orphan.

BUG: 371862

Test Plan: Only compile tested, no way to get into the problematic situation

Reviewers: #kwin, #plasma

Subscribers: plasma-devel, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D5589
2017-05-05 19:17:11 +02:00
..
CMakeLists.txt Support for syncing the clipboard from X11 to Wayland and vice versa 2016-06-29 09:03:40 +02:00
main.cpp [helper] Terminate xclipboardsyncer if kwin_wayland goes down 2017-05-05 19:17:11 +02:00
waylandclipboard.cpp Include <errno.h> in waylandclipboard.cpp 2016-09-16 10:05:01 +02:00
waylandclipboard.h Support for syncing the clipboard from X11 to Wayland and vice versa 2016-06-29 09:03:40 +02:00