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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user