Skip to content
  • Martin Flöser's avatar
    Handle processId being 0 in ShellClient::killWindow · 00281711
    Martin Flöser authored
    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
    
    Reviewers: #kwin, #plasma
    
    Subscribers: plasma-devel, kwin
    
    Tags: #kwin
    
    Differential Revision: https://phabricator.kde.org/D7168
    00281711