ivi-shell: SEGV occurs when multi touch happens in transition
of application launching. This is because cancel callback is mistakenly set to weston_touch_grab_interface. To fix this issue, add a callback, touch_move_workspace_grab_frame and set it to the weston_touch_grab_interface like desktop-shell. Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp> Reviewed-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
This commit is contained in:
committed by
Bryce Harrington
parent
7b9efcbcbf
commit
82cc25b986
@@ -1388,6 +1388,11 @@ pointer_move_workspace_grab_cancel(struct weston_pointer_grab *grab)
|
|||||||
free(grab);
|
free(grab);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
touch_move_workspace_grab_frame(struct weston_touch_grab *grab)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
touch_move_workspace_grab_cancel(struct weston_touch_grab *grab)
|
touch_move_workspace_grab_cancel(struct weston_touch_grab *grab)
|
||||||
{
|
{
|
||||||
@@ -1408,6 +1413,7 @@ static const struct weston_touch_grab_interface touch_move_grab_workspace_interf
|
|||||||
touch_nope_grab_down,
|
touch_nope_grab_down,
|
||||||
touch_move_workspace_grab_up,
|
touch_move_workspace_grab_up,
|
||||||
touch_move_grab_motion,
|
touch_move_grab_motion,
|
||||||
|
touch_move_workspace_grab_frame,
|
||||||
touch_move_workspace_grab_cancel
|
touch_move_workspace_grab_cancel
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user