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.
Details
Details
- Reviewers
bshah - Group Reviewers
KWin Plasma - Commits
- R108:00281711d9c4: Handle processId being 0 in ShellClient::killWindow
Only compile test
Diff Detail
Diff Detail
- Repository
- R108 KWin
- Branch
- kill-window-process-0
- Lint
No Linters Available - Unit
No Unit Test Coverage
Comment Actions
Looks good to me, probably though it's good idea to figure out why it returns 0 as processId?
Comment Actions
We have a failing auto test for it in KWayland. It looks like libwayland-server is using a linuxism there.