[clutter/fosdem-2012] wayland: Force a redraw of the stage to get the new sized buffer attached
- From: Neil Roberts <nroberts src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter/fosdem-2012] wayland: Force a redraw of the stage to get the new sized buffer attached
- Date: Mon, 30 Jan 2012 12:07:12 +0000 (UTC)
commit 5ce68b88b317539a19ab9a77479da979f67516da
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 2a66458..046cac4 100644
--- a/clutter/wayland/clutter-stage-wayland.c
+++ b/clutter/wayland/clutter-stage-wayland.c
@@ -130,6 +130,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]