dde-application-manager/debian
black-desk 29e7ef2f00 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
2023-04-17 10:09:14 +00:00
..
source chore: 修改changelog 2022-06-21 16:41:02 +08:00
changelog chore: bump version to 1.0.10 2023-04-12 15:01:45 +08:00
control fix: use XResQueryClientIds to get pid of xwindow 2023-04-17 10:09:14 +00:00
copyright feat: 初始代码 2022-03-30 17:56:27 +08:00
rules fix: 修复翻译失败问题 2022-10-18 17:02:23 +08:00