desktop-shell: End popup when starting a touch shell grab

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=77345
This commit is contained in:
Kristian Høgsberg 2014-04-29 15:01:16 -07:00
parent 7b83ae433f
commit 74071e056a

View file

@ -364,6 +364,9 @@ shell_touch_grab_start(struct shell_touch_grab *grab,
{
struct desktop_shell *shell = shsurf->shell;
if (touch->seat->pointer)
popup_grab_end(touch->seat->pointer);
grab->grab.interface = interface;
grab->shsurf = shsurf;
grab->shsurf_destroy_listener.notify = destroy_shell_grab_shsurf;