Skip to content
Snippets Groups Projects
Commit 49c1a33a authored by Olivier Fourdan's avatar Olivier Fourdan :tools:
Browse files

client: Rely in XRes reported PID is 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>
parent 010f8281
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