Skip to content
Snippets Groups Projects
Commit 124dfe47 authored by Olivier Fourdan's avatar Olivier Fourdan :tools: Committed by Olivier Fourdan
Browse files

client: Rely on XRes reported PID if available


When xfwm4 needs to kill an unresponsive client, it will use the its PID
is known.

However, the _NET_WM_PID as defined in the extended window manager hint
mechanism is unreliable when the client runs within a sandbox, as it is
the client itself who sets that property using its own view of the PID.

The Xserver can provide a more accurate value of the client PID using
the XRes X11 extension, so use that protocol if available.

Signed-off-by: default avatarOlivier Fourdan <fourdan@xfce.org>
(cherry picked from commit 49c1a33a)
parent 37b6dfba
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment