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:
@ -1087,6 +1087,8 @@ needs_initial_configure (GdkWindow *window)
|
|||||||
|
|
||||||
if (impl->display_server.wl_subsurface)
|
if (impl->display_server.wl_subsurface)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
else if (impl->use_custom_surface)
|
||||||
|
return FALSE;
|
||||||
else if (is_realized_toplevel (window))
|
else if (is_realized_toplevel (window))
|
||||||
return TRUE;
|
return TRUE;
|
||||||
else if (is_realized_popup (window))
|
else if (is_realized_popup (window))
|
||||||
|
|||||||
Reference in New Issue
Block a user