changeset 106056:b3bd00b680bb

xmenu.c(x_menu_wait_for_event): Call XFlush before select.
author Jan Djärv <jan.h.d@swipnet.se>
date Mon, 16 Nov 2009 19:43:40 +0000
parents 85808c78b869
children 385ba537122c
files src/ChangeLog src/xmenu.c
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Mon Nov 16 15:34:19 2009 +0000
+++ b/src/ChangeLog	Mon Nov 16 19:43:40 2009 +0000
@@ -1,3 +1,7 @@
+2009-11-16  Jan Djärv  <jan.h.d@swipnet.se>
+
+	* xmenu.c (x_menu_wait_for_event): Call XFlush before select.
+
 2009-11-14  Andreas Schwab  <schwab@linux-m68k.org>
 
 	* Makefile.in: Ignore errors from mkdir when creating deps
--- a/src/xmenu.c	Mon Nov 16 15:34:19 2009 +0000
+++ b/src/xmenu.c	Mon Nov 16 19:43:40 2009 +0000
@@ -440,6 +440,7 @@
       else
         ntp = &next_time;
 
+      XFlush ((Display*) data);
       select (n + 1, &read_fds, (SELECT_TYPE *)0, (SELECT_TYPE *)0, ntp);
     }
 }