mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
Remove 2-level polling
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
0ada7c532d
commit
3e13545cc9
1 changed files with 4 additions and 8 deletions
12
awesome.c
12
awesome.c
|
@ -163,15 +163,11 @@ a_xcb_check_cb(EV_P_ ev_check *w, int revents)
|
|||
|
||||
while((ev = xcb_poll_for_event(globalconf.connection)))
|
||||
{
|
||||
do
|
||||
{
|
||||
xcb_handle_event(globalconf.evenths, ev);
|
||||
p_delete(&ev);
|
||||
}
|
||||
while((ev = xcb_poll_for_event(globalconf.connection)));
|
||||
|
||||
awesome_refresh(globalconf.connection);
|
||||
xcb_handle_event(globalconf.evenths, ev);
|
||||
p_delete(&ev);
|
||||
}
|
||||
|
||||
awesome_refresh(globalconf.connection);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue