fix: use XResQueryClientIds to get pid of xwindow
Code copy from https://gitlab.gnome.org/GNOME/metacity/-/merge_requests/13/diffs The xprop `_NET_WM_PID` is set by the client side, even if the process in running in some container. But when pid_ns is unshared, the processes in side a container, will not be able to get the "right" pid of itself. The "new" XResQueryClientIds added to XRes will fix this issue by produce the pid in server side. refs: - https://gitlab.freedesktop.org/xorg/xserver/-/issues/1022#note_497597 - https://www.x.org/releases/X11R7.7/doc/resourceproto/resproto.txt close linuxdeepin/developer-center#3802
This commit is contained in:
committed by
deepin-bot[bot]
parent
9b82262a4e
commit
29e7ef2f00
1
debian/control
vendored
1
debian/control
vendored
@ -14,6 +14,7 @@ Build-Depends:
|
||||
libdtkcore-dev (>=5.4.14),
|
||||
libdtkcore5-bin (>=5.4.14),
|
||||
libxcb1-dev,
|
||||
libxres-dev,
|
||||
libxcb-icccm4-dev,
|
||||
libxcb-ewmh-dev,
|
||||
libx11-dev,
|
||||
|
Reference in New Issue
Block a user