Do not require an initial configure for custom Wayland surfaces

There is no way for custom Wayland surfaces to get configure events, so an
initial configure event should not be required to resize a custom surface.

Fixes #2578.
This commit is contained in:
William Wold 2020-04-05 05:26:24 -04:00
parent 8c97702a07
commit 12fc9a45ef

View File

@ -1087,6 +1087,8 @@ needs_initial_configure (GdkWindow *window)
if (impl->display_server.wl_subsurface)
return FALSE;
else if (impl->use_custom_surface)
return FALSE;
else if (is_realized_toplevel (window))
return TRUE;
else if (is_realized_popup (window))