aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_x11.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-30 19:37:54 +0000
committerDavid Robillard <d@drobilla.net>2012-04-30 19:37:54 +0000
commit91a4fea4672c54d84bd3e46422e32636351c8053 (patch)
tree0c5f73547b8cdf1ca4015b1bedaa9ba3cc6c225b /pugl/pugl_x11.c
parent7bfed660202401ef16730495e688ba4502c9b8ad (diff)
downloadpugl-91a4fea4672c54d84bd3e46422e32636351c8053.tar.gz
pugl-91a4fea4672c54d84bd3e46422e32636351c8053.tar.bz2
pugl-91a4fea4672c54d84bd3e46422e32636351c8053.zip
Fix wonky modifiers on Windows.
Diffstat (limited to 'pugl/pugl_x11.c')
-rw-r--r--pugl/pugl_x11.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/pugl/pugl_x11.c b/pugl/pugl_x11.c
index c180a9a..08bfc40 100644
--- a/pugl/pugl_x11.c
+++ b/pugl/pugl_x11.c
@@ -75,8 +75,9 @@ puglCreate(PuglNativeWindow parent,
PuglPlatformData* impl = view->impl;
- view->width = width;
- view->height = height;
+ view->width = width;
+ view->height = height;
+
impl->display = XOpenDisplay(0);
impl->screen = DefaultScreen(impl->display);