[clutter-gtk/wip/wayland] wayland: Position the subsurface at the right position



commit 2a8f284b3d6bdd8ff3b82bf3046c92e0e461dbc0
Author: Rob Bradford <rob linux intel com>
Date:   Thu Aug 1 15:22:09 2013 +0100

    wayland: Position the subsurface at the right position

 clutter-gtk/gtk-clutter-embed.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/clutter-gtk/gtk-clutter-embed.c b/clutter-gtk/gtk-clutter-embed.c
index 5c7efae..00976a0 100644
--- a/clutter-gtk/gtk-clutter-embed.c
+++ b/clutter-gtk/gtk-clutter-embed.c
@@ -396,6 +396,7 @@ gtk_clutter_embed_realize (GtkWidget *widget)
       subsurface = wl_subcompositor_get_subsurface (priv->subcompositor,
                                                     clutter_surface,
                                                     gtk_surface);
+      wl_subsurface_set_position(subsurface, allocation.x, allocation.y);
     }
 #endif
 


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