window.c: Update pointer focus when taking a grab

dev
Kristian Høgsberg 11 years ago
parent 9c376b54ea
commit 41f7ebc36a
  1. 2
      clients/window.c

@ -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

Loading…
Cancel
Save