Rob Bradford 2b8fcfd75b wayland: When resizing only trigger a redraw if the stage has been shown
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
2013-08-12 19:13:57 +01:00
..
2013-04-05 18:48:01 +01:00
2013-02-13 09:27:17 -05:00
2013-04-05 18:48:01 +01:00
2013-04-05 18:48:01 +01:00
2013-04-05 18:48:01 +01:00
2012-06-11 13:47:29 +01:00
2013-05-03 10:16:25 -04:00
2013-05-03 10:16:25 -04:00