From 072f1e39a2cec39d3b2c3640a1c90ab9778dd75f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Dj=C3=A4rv?= Date: Mon, 16 Nov 2009 19:43:40 +0000 Subject: [PATCH] xmenu.c(x_menu_wait_for_event): Call XFlush before select. --- src/ChangeLog | 4 ++++ src/xmenu.c | 1 + 2 files changed, 5 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 112d017ea43..d8d35029d0b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2009-11-16 Jan Djärv + + * xmenu.c (x_menu_wait_for_event): Call XFlush before select. + 2009-11-14 Andreas Schwab * Makefile.in: Ignore errors from mkdir when creating deps diff --git a/src/xmenu.c b/src/xmenu.c index 172be93a58c..9d073411f34 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -440,6 +440,7 @@ x_menu_wait_for_event (void *data) else ntp = &next_time; + XFlush ((Display*) data); select (n + 1, &read_fds, (SELECT_TYPE *)0, (SELECT_TYPE *)0, ntp); } } -- 2.39.2