summaryrefslogtreecommitdiff
path: root/desktop-shell
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2015-04-30 16:45:41 -0500
committerDaniel Stone <daniels@collabora.com>2015-05-01 12:42:52 +0100
commit4c93c086799ed678844efd9c5eba1e96039c1547 (patch)
treef7408ea52cdb4b5670697f7e0b47fb46a19c6484 /desktop-shell
parentca79076b03459db80f8f9470fb2d636c01e37953 (diff)
touch: Make weston_touch_set_focus() take a touch instead of a seat
The other set_focus() functions take the relevant type instead of a seat already, so this is consistent. Signed-off-by: Derek Foreman <derekf@osg.samsung.com> Reviewed-by: Daniel Stone <daniels@collabora.com>
Diffstat (limited to 'desktop-shell')
-rw-r--r--desktop-shell/shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c
index 96aa8f37..5f54dea0 100644
--- a/desktop-shell/shell.c
+++ b/desktop-shell/shell.c
@@ -543,7 +543,7 @@ shell_touch_grab_start(struct shell_touch_grab *grab,
weston_touch_start_grab(touch, &grab->grab);
if (shell->child.desktop_shell)
- weston_touch_set_focus(touch->seat,
+ weston_touch_set_focus(touch,
get_default_view(shell->grab_surface));
}