wayland: Fix grabbing popup

A typo snuck into commit 3023a61e1d that
caused us to fail all grabbing popups with
"grab failed: not viewable". Fix that.
This commit is contained in:
Matthias Clasen 2020-09-20 10:02:53 -04:00
parent 18a5ca257a
commit bb402a1f1d

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))