Fixed xcb event fetch
This commit is contained in:
parent
9f2256e71c
commit
11f5fb173d
1 changed files with 2 additions and 2 deletions
|
@ -121,10 +121,10 @@ main(int argc, char *argv[])
|
|||
}
|
||||
|
||||
if (FD_ISSET(g_dpy_fd, &file_descriptors)) {
|
||||
xcb_generic_event_t *event = xcb_wait_for_event(g_dpy);
|
||||
xcb_generic_event_t *event = xcb_poll_for_event(g_dpy);
|
||||
|
||||
if (!event) {
|
||||
die("XCB connection broke\n");
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue