From: Jan Djärv Date: Mon, 16 Nov 2009 19:43:40 +0000 (+0000) Subject: xmenu.c(x_menu_wait_for_event): Call XFlush before select. X-Git-Tag: emacs-pretest-23.1.90~397 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=072f1e39a2cec39d3b2c3640a1c90ab9778dd75f;p=emacs.git xmenu.c(x_menu_wait_for_event): Call XFlush before select. --- 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); } }