Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
spectrwm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
go back to using XPending() for now.
[spectrwm.git]
/
spectrwm.c
diff --git
a/spectrwm.c
b/spectrwm.c
index
6f83f62
..
382b825
100644
(file)
--- a/
spectrwm.c
+++ b/
spectrwm.c
@@
-637,6
+637,7
@@
map_window_raised(xcb_window_t win)
XCB_CONFIG_WINDOW_STACK_MODE, &val);
xcb_map_window(conn, win);
XCB_CONFIG_WINDOW_STACK_MODE, &val);
xcb_map_window(conn, win);
+ xcb_flush(conn);
}
xcb_atom_t
}
xcb_atom_t
@@
-7552,7
+7553,6
@@
main(int argc, char *argv[])
int xfd, i, num_screens;
fd_set rd;
struct sigaction sact;
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);
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) {
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;
XNextEvent(display, &e);
if (running == 0)
goto done;