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>
This commit is contained in:
Derek Foreman
2015-04-30 16:45:41 -05:00
committed by Daniel Stone
parent ca79076b03
commit 4c93c08679
4 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -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));
}