forked from AuroraMiddleware/gtk
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:
parent
18a5ca257a
commit
bb402a1f1d
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user