aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail/x11.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-02-02 14:40:56 +0100
committerDavid Robillard <d@drobilla.net>2020-02-02 14:41:51 +0100
commit0f114d846286355c90df02ef45e9c7e098b71104 (patch)
tree19d909ca32dc48a43a968374b17270f8cd8be017 /pugl/detail/x11.h
parentfe0a68d8ebcc52b80ed91fab073f09dcfb7911fa (diff)
downloadpugl-0f114d846286355c90df02ef45e9c7e098b71104.tar.gz
pugl-0f114d846286355c90df02ef45e9c7e098b71104.tar.bz2
pugl-0f114d846286355c90df02ef45e9c7e098b71104.zip
X11: Dispatch exposures from event callbacks in the same iteration
Diffstat (limited to 'pugl/detail/x11.h')
-rw-r--r--pugl/detail/x11.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pugl/detail/x11.h b/pugl/detail/x11.h
index d7990ca..32bd4fb 100644
--- a/pugl/detail/x11.h
+++ b/pugl/detail/x11.h
@@ -23,6 +23,8 @@
#include <X11/Xlib.h>
#include <X11/Xutil.h>
+#include <stdbool.h>
+
typedef struct {
Atom CLIPBOARD;
Atom UTF8_STRING;
@@ -37,6 +39,7 @@ struct PuglWorldInternalsImpl {
Display* display;
PuglX11Atoms atoms;
XIM xim;
+ bool dispatchingEvents;
};
struct PuglInternalsImpl {