aboutsummaryrefslogtreecommitdiffstats
path: root/pugl
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-05-13 15:32:19 +0000
committerDavid Robillard <d@drobilla.net>2014-05-13 15:32:19 +0000
commit91aad360eb90b513cb21b7b62371003fb0bb4c41 (patch)
treed371731872a27762d53cf59400383de446f1ae28 /pugl
parenta739e6116f026e2fe334f447082616712a1cfd78 (diff)
downloadpugl-91aad360eb90b513cb21b7b62371003fb0bb4c41.tar.gz
pugl-91aad360eb90b513cb21b7b62371003fb0bb4c41.tar.bz2
pugl-91aad360eb90b513cb21b7b62371003fb0bb4c41.zip
Fix mismatched defines.
Diffstat (limited to 'pugl')
-rw-r--r--pugl/pugl_x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pugl/pugl_x11.c b/pugl/pugl_x11.c
index ce3547f..035f23b 100644
--- a/pugl/pugl_x11.c
+++ b/pugl/pugl_x11.c
@@ -109,7 +109,7 @@ puglCreateWindow(PuglView* view, const char* title)
attr.event_mask = ExposureMask | KeyPressMask | KeyReleaseMask
| ButtonPressMask | ButtonReleaseMask
-#ifdef XKEYFOCUSGRAB
+#ifdef PUGL_GRAB_FOCUS
| EnterWindowMask
#endif
| PointerMotionMask | StructureNotifyMask;