graesslin created this revision. Restricted Application added a project: KWin. Restricted Application added subscribers: kwin, plasma-devel.
REVISION 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 REPOSITORY R108 KWin BRANCH xclipboardsync-pdeathsig REVISION DETAIL https://phabricator.kde.org/D5589 AFFECTED FILES CMakeLists.txt config-kwin.h.cmake helpers/xclipboardsync/main.cpp To: graesslin, #kwin, #plasma Cc: plasma-devel, kwin, spstarr, progwolff, Zren, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, lukas