2b8fcfd75b
This is necessary to avoid a deadlock with the compositor. When setting a stage size before the stage was shown this would trigger a redraw inside clutter_stage_wayland_resize. This redraw would result in a call into eglSwapBuffers which would attach a buffer to the surface and commit. Unfortunately this would happen before the role for the surface was set. This would result in the compositor not relaying to the client that the desired frame was shown. With this change the call to wl_shell_surface_set_toplevel is always made before the first redraw. https://bugzilla.gnome.org/show_bug.cgi?id=704457 |
||
---|---|---|
.. | ||
clutter-backend-wayland-priv.h | ||
clutter-backend-wayland.c | ||
clutter-backend-wayland.h | ||
clutter-device-manager-wayland.c | ||
clutter-device-manager-wayland.h | ||
clutter-event-wayland.c | ||
clutter-event-wayland.h | ||
clutter-input-device-wayland.c | ||
clutter-input-device-wayland.h | ||
clutter-stage-wayland.c | ||
clutter-stage-wayland.h | ||
clutter-wayland-compositor.h | ||
clutter-wayland-surface.c | ||
clutter-wayland-surface.h | ||
clutter-wayland.h |