From 9be7bab7cf3c63cafa07e5a70d6c59559ffdc1de Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 9 Mar 2020 21:49:58 +0100 Subject: 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. --- pugl/detail/x11.h | 1 + 1 file changed, 1 insertion(+) (limited to 'pugl/detail/x11.h') 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; -- cgit v1.2.1