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



commit 797336762e40baf9c187b99883aa893c1f5de92a
Author: Rob Bradford <rob linux intel com>
Date:   Thu Jan 26 14:23:57 2012 +0000

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

 clutter/wayland/clutter-stage-wayland.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/clutter/wayland/clutter-stage-wayland.c b/clutter/wayland/clutter-stage-wayland.c
index 3775259..7b501e1 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]