diff --git a/clients/window.c b/clients/window.c index e2f70107..005102b0 100644 --- a/clients/window.c +++ b/clients/window.c @@ -2558,6 +2558,8 @@ input_grab(struct input *input, struct widget *widget, uint32_t button) { input->grab = widget; input->grab_button = button; + + input_set_focus_widget(input, widget, input->sx, input->sy); } void