diff options
author | Jonathan Bauer | 2020-01-30 14:06:58 +0100 |
---|---|---|
committer | Jonathan Bauer | 2020-01-30 14:06:58 +0100 |
commit | fd569e636f6713a0c5b0c8d4d6e8e98cd5395d56 (patch) | |
tree | dda8731cd66cfb65620b31280f66c0464220462f | |
parent | Würg around reset idle time through ungrab hook (diff) | |
download | xscreensaver-fd569e636f6713a0c5b0c8d4d6e8e98cd5395d56.tar.gz xscreensaver-fd569e636f6713a0c5b0c8d4d6e8e98cd5395d56.tar.xz xscreensaver-fd569e636f6713a0c5b0c8d4d6e8e98cd5395d56.zip |
driver/timers.c: fix flush_events()v26
-rw-r--r-- | driver/timers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/timers.c b/driver/timers.c index 591b568..9c18a8e 100644 --- a/driver/timers.c +++ b/driver/timers.c @@ -695,7 +695,7 @@ flush_events (saver_info *si) int i; XEvent xe; for (i = 0; i < 10; ++i) { - while (XtAppPending (si->app) != 0) { + while (XtAppPending (si->app) & XtIMXEvent) { XtAppNextEvent (si->app, &xe); dispatch_event (si, &xe); } |