From 206bf49525b71402378dc0b0f498dcdaaebbe814 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Thu, 19 Jun 2008 09:46:17 +0200 Subject: [PATCH] awesome: fix documentation position Signed-off-by: Julien Danjou --- awesome.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/awesome.c b/awesome.c index dd47a6fd..ec983294 100644 --- a/awesome.c +++ b/awesome.c @@ -162,6 +162,13 @@ a_xcb_check_cb(EV_P_ ev_check *w, int revents) { xcb_generic_event_t *ev; + /* Two level polling: + * We need to first check we have an event to handle + * and if so, we handle them all in a round. + * Then when we have refresh()'ed stuff so maybe new XEvent + * are available and select() won't tell us, so let's check + * with xcb_poll_for_event() again. + */ while((ev = xcb_poll_for_event(globalconf.connection))) { do @@ -186,13 +193,6 @@ a_xcb_check_cb(EV_P_ ev_check *w, int revents) static void a_xcb_io_cb(EV_P_ ev_io *w, int revents) { - /* Two level polling: - * We need to first check we have an event to handle - * and if so, we handle them all in a round. - * Then when we have refresh()'ed stuff so maybe new XEvent - * are available and select() won't tell us, so let's check - * with xcb_poll_for_event() again. - */ /* empty */ }