dde-application-manager/src/lib
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
..
appinfo.cpp chore(CI): fix reuse 2023-02-23 21:57:13 +08:00
appinfo.h chore(CI): fix reuse 2023-02-23 21:57:13 +08:00
appinfocommon.cpp chore(CI): fix reuse 2023-02-23 21:57:13 +08:00
appinfocommon.h chore(CI): fix reuse 2023-02-23 21:57:13 +08:00
applaunchcontext.cpp chore(CI): fix reuse 2023-02-23 21:57:13 +08:00
applaunchcontext.h chore(CI): fix reuse 2023-02-23 21:57:13 +08:00
basedir.cpp chore(CI): fix reuse 2023-02-23 21:57:13 +08:00
basedir.h chore(CI): fix reuse 2023-02-23 21:57:13 +08:00
desktopfile.cpp fix: introduce new DesktopFile class 2023-04-03 01:42:34 +00:00
desktopfile.h fix: introduce new DesktopFile class 2023-04-03 01:42:34 +00:00
desktopinfo.cpp fix: introduce new DesktopFile class 2023-04-03 01:42:34 +00:00
desktopinfo.h fix: introduce new DesktopFile class 2023-04-03 01:42:34 +00:00
dfile.cpp chore(CI): fix reuse 2023-02-23 21:57:13 +08:00
dfile.h chore(CI): fix reuse 2023-02-23 21:57:13 +08:00
dlocale.cpp chore(CI): fix reuse 2023-02-23 21:57:13 +08:00
dlocale.h chore(CI): fix reuse 2023-02-23 21:57:13 +08:00
dstring.cpp chore(CI): fix reuse 2023-02-23 21:57:13 +08:00
dstring.h chore(CI): fix reuse 2023-02-23 21:57:13 +08:00
gsetting.cpp chore(CI): fix reuse 2023-02-23 21:57:13 +08:00
gsetting.h chore(CI): fix reuse 2023-02-23 21:57:13 +08:00
keyfile.cpp fix: introduce new DesktopFile class 2023-04-03 01:42:34 +00:00
keyfile.h fix: introduce new DesktopFile class 2023-04-03 01:42:34 +00:00
lang.h chore(CI): fix reuse 2023-02-23 21:57:13 +08:00
macro.h chore(CI): fix reuse 2023-02-23 21:57:13 +08:00
meminfo.cpp chore(CI): fix reuse 2023-02-23 21:57:13 +08:00
meminfo.h chore(CI): fix reuse 2023-02-23 21:57:13 +08:00
process.cpp chore(CI): fix reuse 2023-02-23 21:57:13 +08:00
process.h chore(CI): fix reuse 2023-02-23 21:57:13 +08:00
terminalinfo.cpp chore(CI): fix reuse 2023-02-23 21:57:13 +08:00
terminalinfo.h chore(CI): fix reuse 2023-02-23 21:57:13 +08:00
utils.cpp chore(CI): fix reuse 2023-02-23 21:57:13 +08:00
utils.h chore(CI): fix reuse 2023-02-23 21:57:13 +08:00
xcbutils.cpp fix: use XResQueryClientIds to get pid of xwindow 2023-04-17 10:09:14 +00:00
xcbutils.h chore(CI): fix reuse 2023-02-23 21:57:13 +08:00