diff options
Diffstat (limited to 'pugl/detail/x11.c')
-rw-r--r-- | pugl/detail/x11.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pugl/detail/x11.c b/pugl/detail/x11.c index 32f1393..d014b2e 100644 --- a/pugl/detail/x11.c +++ b/pugl/detail/x11.c @@ -506,7 +506,7 @@ puglProcessEvents(PuglView* view) XNextEvent(impl->display, &xevent); if (xevent.type == KeyRelease) { // Ignore key repeat if necessary - if (view->ignoreKeyRepeat && + if (view->hints.ignoreKeyRepeat && XEventsQueued(impl->display, QueuedAfterReading)) { XEvent next; XPeekEvent(impl->display, &next); |