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:
committed by
Daniel Stone
parent
ca79076b03
commit
4c93c08679
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user