Making Mouse-clicks work

This commit is contained in:
Axel Wagner
2010-07-30 04:19:32 +02:00
parent f4b7394655
commit 49eef0db3f
2 changed files with 18 additions and 2 deletions

View File

@ -20,8 +20,8 @@ void ev_check_cb(struct ev_loop *loop, ev_check *w, int revents) {
xcb_generic_event_t *event;
if ((event = xcb_poll_for_event(xcb_connection)) != NULL) {
handle_xcb_event(event);
free(event);
}
free(event);
}
void xcb_io_cb(struct ev_loop *loop, ev_io *w, int revents) {