diff options
author | David Robillard <d@drobilla.net> | 2019-08-02 21:49:16 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-08-02 23:28:15 +0200 |
commit | 1c1e053d3403a6e03a00db8f3551f6a19302876b (patch) | |
tree | d17ecd6498434ef5d24a59e5416aa22d542e48b1 /pugl/detail/x11.c | |
parent | 9f4a5e733b20f2de1619b46e0f7a36b3b5558f6e (diff) | |
download | pugl-1c1e053d3403a6e03a00db8f3551f6a19302876b.tar.gz pugl-1c1e053d3403a6e03a00db8f3551f6a19302876b.tar.bz2 pugl-1c1e053d3403a6e03a00db8f3551f6a19302876b.zip |
Replace puglIgnoreKeyRepeat() with a hint
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); |