forked from AuroraMiddleware/gtk
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:
parent
8c97702a07
commit
12fc9a45ef
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user