commit | 41f7ebc36acaa2289f4f21d7fd7613364048a4fb | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg <krh@bitplanet.net> | Tue Apr 29 14:11:26 2014 -0700 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Tue Apr 29 14:12:20 2014 -0700 |
tree | 84b1a5b31eccf40e3755722e78ebc4359651c4e1 | |
parent | 9c376b54ea6f60ae10d93653132e22ef66a536d7 [diff] [blame] |
window.c: Update pointer focus when taking a grab
diff --git a/clients/window.c b/clients/window.c index e2f7010..005102b 100644 --- a/clients/window.c +++ b/clients/window.c
@@ -2558,6 +2558,8 @@ { input->grab = widget; input->grab_button = button; + + input_set_focus_widget(input, widget, input->sx, input->sy); } void