mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
wayland/xdg-shell: Send popup_done if failed to start grab
https://bugzilla.gnome.org/show_bug.cgi?id=763431
This commit is contained in:
parent
e68b5f6655
commit
d9b98bced9
@ -502,6 +502,7 @@ xdg_shell_get_xdg_popup (struct wl_client *client,
|
||||
popup = meta_wayland_pointer_start_popup_grab (&seat->pointer, surface);
|
||||
if (popup == NULL)
|
||||
{
|
||||
xdg_popup_send_popup_done (surface->xdg_popup);
|
||||
meta_wayland_surface_destroy_window (surface);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user