diff options
author | David Robillard <d@drobilla.net> | 2020-03-09 21:49:58 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-03-09 22:17:44 +0100 |
commit | 9be7bab7cf3c63cafa07e5a70d6c59559ffdc1de (patch) | |
tree | db882f9d08f5b91b31271cd2844cae11f64bf1dd /pugl/detail/x11.h | |
parent | a303b9374dbb9eeef1a31dcad3cb0a4e9b7fd5a3 (diff) | |
download | pugl-9be7bab7cf3c63cafa07e5a70d6c59559ffdc1de.tar.gz pugl-9be7bab7cf3c63cafa07e5a70d6c59559ffdc1de.tar.bz2 pugl-9be7bab7cf3c63cafa07e5a70d6c59559ffdc1de.zip |
Add PuglEventClient and puglSendEvent()
This event makes it possible to send an arbitrary event to a view, which is
useful for many things. In particular, this method of communication with views
will wake up the event loop, unlike hacks in applications that share data in
some other way.
Diffstat (limited to 'pugl/detail/x11.h')
-rw-r--r-- | pugl/detail/x11.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pugl/detail/x11.h b/pugl/detail/x11.h index 220f3c8..fe8ce01 100644 --- a/pugl/detail/x11.h +++ b/pugl/detail/x11.h @@ -32,6 +32,7 @@ typedef struct { Atom UTF8_STRING; Atom WM_PROTOCOLS; Atom WM_DELETE_WINDOW; + Atom PUGL_CLIENT_MSG; Atom NET_WM_NAME; Atom NET_WM_STATE; Atom NET_WM_STATE_DEMANDS_ATTENTION; |