diff options
author | Jan Djärv <jan.h.d@swipnet.se> | 2009-11-16 19:46:56 +0000 |
---|---|---|
committer | Jan Djärv <jan.h.d@swipnet.se> | 2009-11-16 19:46:56 +0000 |
commit | 1cb673191453c0ec6d708776f57a15cd2f266e20 (patch) | |
tree | 9f82294fb63a175cce74d9d2c178099f6cd1c41c /src/xmenu.c | |
parent | eb1c06301f0cb4c647bb14b69531dfd64df2afd8 (diff) | |
download | emacs-1cb673191453c0ec6d708776f57a15cd2f266e20.tar.gz |
*** empty log message ***
Diffstat (limited to 'src/xmenu.c')
-rw-r--r-- | src/xmenu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmenu.c b/src/xmenu.c index 9d073411f34..23b812f28f2 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -433,6 +433,7 @@ x_menu_wait_for_event (void *data) int fd = ConnectionNumber (dpyinfo->display); FD_SET (fd, &read_fds); if (fd > n) n = fd; + XFlush (dpyinfo->display); } if (secs < 0 && usecs < 0) @@ -440,7 +441,6 @@ 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); } } |