mirror of
https://github.com/vale981/spectrwm
synced 2025-03-05 09:51:38 -05:00
go back to using XPending() for now.
call xcb_flush() after raising windows.
This commit is contained in:
parent
7b36e544be
commit
77a91a26d1
1 changed files with 2 additions and 2 deletions
|
@ -637,6 +637,7 @@ map_window_raised(xcb_window_t win)
|
|||
XCB_CONFIG_WINDOW_STACK_MODE, &val);
|
||||
|
||||
xcb_map_window(conn, win);
|
||||
xcb_flush(conn);
|
||||
}
|
||||
|
||||
xcb_atom_t
|
||||
|
@ -7552,7 +7553,6 @@ main(int argc, char *argv[])
|
|||
int xfd, i, num_screens;
|
||||
fd_set rd;
|
||||
struct sigaction sact;
|
||||
xcb_generic_event_t *evt;
|
||||
|
||||
start_argv = argv;
|
||||
warnx("Welcome to spectrwm V%s Build: %s", SPECTRWM_VERSION, buildstr);
|
||||
|
@ -7674,7 +7674,7 @@ noconfig:
|
|||
|
||||
xfd = xcb_get_file_descriptor(conn);
|
||||
while (running) {
|
||||
while ((evt = xcb_poll_for_event(conn)) == 0) {
|
||||
while (XPending(display)) {
|
||||
XNextEvent(display, &e);
|
||||
if (running == 0)
|
||||
goto done;
|
||||
|
|
Loading…
Add table
Reference in a new issue