diff --git a/i3bar/src/xcb.c b/i3bar/src/xcb.c index 0f0e2973..60b88fc8 100644 --- a/i3bar/src/xcb.c +++ b/i3bar/src/xcb.c @@ -365,7 +365,7 @@ void handle_button(xcb_button_press_event_t *event) { * then (and only then) * */ -void xcb_prep_cb(struct ev_loop *loop, ev_prepare *watcher, int revenst) { +void xcb_prep_cb(struct ev_loop *loop, ev_prepare *watcher, int revents) { xcb_flush(xcb_connection); }