aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_x11.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-07-21 18:38:43 +0200
committerDavid Robillard <d@drobilla.net>2019-07-21 21:31:00 +0200
commit081490898ed788a184eb74074130634ce9067174 (patch)
treefe0777f98f036a7f706dd4d80049f603bf6338bd /pugl/pugl_x11.h
parenta322ffa38b537e5e03c31ed7fe967cec9d468bb8 (diff)
downloadpugl-081490898ed788a184eb74074130634ce9067174.tar.gz
pugl-081490898ed788a184eb74074130634ce9067174.tar.bz2
pugl-081490898ed788a184eb74074130634ce9067174.zip
Fix handling of WM_DELETE_WINDOW
Diffstat (limited to 'pugl/pugl_x11.h')
-rw-r--r--pugl/pugl_x11.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/pugl/pugl_x11.h b/pugl/pugl_x11.h
index 9c53c49..f33d8de 100644
--- a/pugl/pugl_x11.h
+++ b/pugl/pugl_x11.h
@@ -29,4 +29,9 @@ struct PuglInternalsImpl {
XIC xic;
PuglDrawContext ctx;
PuglSurface* surface;
+
+ struct {
+ Atom WM_PROTOCOLS;
+ Atom WM_DELETE_WINDOW;
+ } atoms;
};