window.c: Update pointer focus when taking a grab
This commit is contained in:
@@ -2558,6 +2558,8 @@ input_grab(struct input *input, struct widget *widget, uint32_t button)
|
|||||||
{
|
{
|
||||||
input->grab = widget;
|
input->grab = widget;
|
||||||
input->grab_button = button;
|
input->grab_button = button;
|
||||||
|
|
||||||
|
input_set_focus_widget(input, widget, input->sx, input->sy);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
Reference in New Issue
Block a user