graesslin created this revision. Restricted Application added a project: KWin. Restricted Application added subscribers: kwin, plasma-devel.
REVISION SUMMARY If ClientConnection fails to get the process id (which happens at least on FreeBSD) the process id is 0. We should not try to terminate this pid as it terminates all processes is KWin's process group which is the whole session. TEST PLAN Only compile test REPOSITORY R108 KWin BRANCH kill-window-process-0 REVISION DETAIL https://phabricator.kde.org/D7168 AFFECTED FILES shell_client.cpp To: graesslin, #kwin, #plasma Cc: plasma-devel, kwin, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart, lukas