mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-01-02 05:20:19 +01:00
window.c: Update pointer focus when taking a grab
This commit is contained in:
parent
9c376b54ea
commit
41f7ebc36a
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue