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:
da64426
)
exposay: move the pointer in our motion handler
author
Emilio Pozuelo Monfort
<pochu27@gmail.com>
Tue, 19 Nov 2013 11:14:53 +0000
(12:14 +0100)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Tue, 19 Nov 2013 19:52:12 +0000
(11:52 -0800)
This is necessary since commit 1959ab.
src/shell.c
patch
|
blob
|
history
diff --git
a/src/shell.c
b/src/shell.c
index
bf5c704
..
82c3cd8
100644
(file)
--- a/
src/shell.c
+++ b/
src/shell.c
@@
-5232,11
+5232,14
@@
exposay_layout(struct desktop_shell *shell)
}
static void
-exposay_motion(struct weston_pointer_grab *grab, uint32_t time)
+exposay_motion(struct weston_pointer_grab *grab, uint32_t time,
+ wl_fixed_t x, wl_fixed_t y)
{
struct desktop_shell *shell =
container_of(grab, struct desktop_shell, exposay.grab_ptr);
+ weston_pointer_move(grab->pointer, x, y);
+
exposay_pick(shell,
wl_fixed_to_int(grab->pointer->x),
wl_fixed_to_int(grab->pointer->y));