From 7d20e63bc0da7e14784a7b40412810e088d1a653 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 29 Apr 2009 14:59:29 +0200 Subject: [PATCH] event: also push the wibox on widget button events Signed-off-by: Julien Danjou --- event.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/event.c b/event.c index 7e162aef3..79c57bcd4 100644 --- a/event.c +++ b/event.c @@ -163,7 +163,8 @@ event_handle_button(void *data, xcb_connection_t *connection, xcb_button_press_e if(w) { widget_push(globalconf.L, w); - event_button_callback(ev, &w->buttons, 1, NULL); + wibox_push(globalconf.L, wibox); + event_button_callback(ev, &w->buttons, 2, NULL); } } else if((c = client_getbywin(ev->event)))