wayland: Force a redraw of the stage to get the new sized buffer attached

This commit is contained in:
Rob Bradford 2012-01-26 14:23:57 +00:00
parent 65e27a830b
commit 797336762e

View File

@ -131,6 +131,11 @@ clutter_stage_wayland_set_fullscreen (ClutterStageWindow *stage_window,
clutter_actor_set_size (stage,
backend_wayland->output_width,
backend_wayland->output_height);
/* FIXME: And we must force a redraw so that new sized buffer gets
* attached
*/
_clutter_stage_window_redraw (stage_window);
wl_shell_surface_set_fullscreen (stage_wayland->wayland_shell_surface);
}
else