Merge branch 'fix-wayland-popups' into 'master'

wayland: Fix grabbing popup

See merge request GNOME/gtk!2604
This commit is contained in:
Matthias Clasen 2020-09-20 14:19:50 +00:00
commit 9ee7bdf4cb

View File

@ -2459,7 +2459,7 @@ gdk_wayland_surface_create_xdg_popup (GdkSurface *surface,
if (!impl->display_server.wl_surface)
return FALSE;
if (!is_realized_shell_surface (impl))
if (!is_realized_shell_surface (parent_impl))
return FALSE;
if (is_realized_toplevel (impl))