mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-07-21 02:25:36 +00:00
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:
parent
7b83ae433f
commit
74071e056a
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue