Commit 6afa4d3
authored
back/x11: set _NET_WM_PID and WM_CLIENT_MACHINE on each window (#159)
An EWMH window manager uses _NET_WM_PID to find the process that owns a
window, for example to kill a window that does not answer _NET_WM_PING. The
property was only set on the root window, so it was missing from the actual
client windows. The specification also requires WM_CLIENT_MACHINE to be set
whenever _NET_WM_PID is.
Set both on each window in -window:::: for EWMH window managers, using
-[NSProcessInfo hostName] for the client machine so the value is consistent
with the rest of GNUstep.1 parent 2dd18e6 commit 6afa4d3
1 file changed
Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1992 | 1992 | | |
1993 | 1993 | | |
1994 | 1994 | | |
| 1995 | + | |
| 1996 | + | |
| 1997 | + | |
| 1998 | + | |
| 1999 | + | |
| 2000 | + | |
| 2001 | + | |
| 2002 | + | |
| 2003 | + | |
| 2004 | + | |
| 2005 | + | |
| 2006 | + | |
| 2007 | + | |
| 2008 | + | |
| 2009 | + | |
| 2010 | + | |
| 2011 | + | |
| 2012 | + | |
| 2013 | + | |
| 2014 | + | |
| 2015 | + | |
| 2016 | + | |
| 2017 | + | |
| 2018 | + | |
| 2019 | + | |
| 2020 | + | |
| 2021 | + | |
| 2022 | + | |
| 2023 | + | |
1995 | 2024 | | |
1996 | 2025 | | |
1997 | 2026 | | |
| |||
0 commit comments