projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c376b5
)
window.c: Update pointer focus when taking a grab
author
Kristian Høgsberg
<krh@bitplanet.net>
Tue, 29 Apr 2014 21:11:26 +0000
(14:11 -0700)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Tue, 29 Apr 2014 21:12:20 +0000
(14:12 -0700)
clients/window.c
patch
|
blob
|
history
diff --git
a/clients/window.c
b/clients/window.c
index
e2f7010
..
005102b
100644
(file)
--- a/
clients/window.c
+++ b/
clients/window.c
@@
-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