Skip to content

Commit

Permalink
window.c: Update pointer focus when taking a grab
Browse files Browse the repository at this point in the history
  • Loading branch information
krh committed Apr 29, 2014
1 parent 9c376b5 commit 41f7ebc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clients/window.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 41f7ebc

Please sign in to comment.