From 797336762e40baf9c187b99883aa893c1f5de92a Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Thu, 26 Jan 2012 14:23:57 +0000 Subject: [PATCH] wayland: Force a redraw of the stage to get the new sized buffer attached --- clutter/wayland/clutter-stage-wayland.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/clutter/wayland/clutter-stage-wayland.c b/clutter/wayland/clutter-stage-wayland.c index 3775259d1..7b501e1db 100644 --- a/clutter/wayland/clutter-stage-wayland.c +++ b/clutter/wayland/clutter-stage-wayland.c @@ -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