aboutsummaryrefslogtreecommitdiffstats
path: root/src/x11.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-01-08 09:37:26 -0500
committerDavid Robillard <d@drobilla.net>2023-01-08 09:46:11 -0500
commit2881f3defa1d89b2c6808db2344ea6e525aefd28 (patch)
treed415604d2a8ed31c450f93325a70e66165c99b41 /src/x11.h
parent92b5ab6bdfc8450ed3c4e4e7006cee949386dcd4 (diff)
downloadpugl-2881f3defa1d89b2c6808db2344ea6e525aefd28.tar.gz
pugl-2881f3defa1d89b2c6808db2344ea6e525aefd28.tar.bz2
pugl-2881f3defa1d89b2c6808db2344ea6e525aefd28.zip
X11: Add support for _NET_WM_PING protocol
This is mainly used to allow the window manager to close locked or otherwise misbehaving windows. The PID and hostname properties are both required to properly support this, but may also be used for other things.
Diffstat (limited to 'src/x11.h')
-rw-r--r--src/x11.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/x11.h b/src/x11.h
index e90694a..b2c0e54 100644
--- a/src/x11.h
+++ b/src/x11.h
@@ -21,11 +21,14 @@
typedef struct {
Atom CLIPBOARD;
Atom UTF8_STRING;
+ Atom WM_CLIENT_MACHINE;
Atom WM_PROTOCOLS;
Atom WM_DELETE_WINDOW;
Atom PUGL_CLIENT_MSG;
Atom NET_CLOSE_WINDOW;
Atom NET_WM_NAME;
+ Atom NET_WM_PID;
+ Atom NET_WM_PING;
Atom NET_WM_STATE;
Atom NET_WM_STATE_ABOVE;
Atom NET_WM_STATE_BELOW;