D7168: Handle processId being 0 in ShellClient::killWindow

Martin Flöser noreply at phabricator.kde.org
Sun Aug 6 18:58:40 UTC 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170806/e1b09d83/attachment.html>


More information about the Plasma-devel mailing list