forked from AuroraMiddleware/gtk
wayland/surface: Fix toplevel present roundtrip condition
We should round trip until we both have received callback and have ensured we received the initial configuration.
This commit is contained in:
parent
1b7004ffc7
commit
3590923c8b
@ -4811,8 +4811,7 @@ gdk_wayland_toplevel_present (GdkToplevel *toplevel,
|
||||
&reconfigure_listener,
|
||||
&done);
|
||||
while (is_realized_toplevel (surface) &&
|
||||
!impl->initial_configure_received &&
|
||||
!done)
|
||||
(!impl->initial_configure_received || !done))
|
||||
wl_display_dispatch_queue (display_wayland->wl_display, impl->event_queue);
|
||||
|
||||
if (needs_reconfigure &&
|
||||
|
Loading…
Reference in New Issue
Block a user