event: also push the wibox on widget button events
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
d3e3c0c922
commit
7d20e63bc0
3
event.c
3
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)))
|
||||
|
|
Loading…
Reference in New Issue