mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-04 20:27:45 +00:00
*** empty log message ***
This commit is contained in:
parent
072f1e39a2
commit
118141564b
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user