projects
/
profile
/
ivi
/
weston-ivi-shell.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
067abf6
)
toytoolkit: supply correct widget in motion_handler callback
author
Philipp Brüschweiler
<blei42@gmail.com>
Sat, 1 Sep 2012 14:21:40 +0000
(16:21 +0200)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Tue, 4 Sep 2012 19:56:37 +0000
(15:56 -0400)
clients/window.c
patch
|
blob
|
history
diff --git
a/clients/window.c
b/clients/window.c
index
4ddbd2f
..
330d96f
100644
(file)
--- a/
clients/window.c
+++ b/
clients/window.c
@@
-2013,7
+2013,7
@@
pointer_handle_motion(void *data, struct wl_pointer *pointer,
else
widget = input->focus_widget;
if (widget && widget->motion_handler)
- cursor = widget->motion_handler(
input->focus_
widget,
+ cursor = widget->motion_handler(widget,
input, time, sx, sy,
widget->user_data);