From 91a4fea4672c54d84bd3e46422e32636351c8053 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 30 Apr 2012 19:37:54 +0000 Subject: Fix wonky modifiers on Windows. --- pugl/pugl_x11.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pugl/pugl_x11.c') 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); -- cgit v1.2.1