[clutter-gtk] Use CLUTTER_PICK_REACTIVE when picking in the GtkClutterEmbed



commit d0dd7fdf01506c8c20b04335593fbb0ff03402d4
Author: Alexander Larsson <alexl redhat com>
Date:   Fri May 25 15:16:11 2012 +0200

    Use CLUTTER_PICK_REACTIVE when picking in the GtkClutterEmbed
    
    Otherwise non-reactive actors will cover your Gtk widgets, which doesn't really
    make sense.

 clutter-gtk/gtk-clutter-embed.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/clutter-gtk/gtk-clutter-embed.c b/clutter-gtk/gtk-clutter-embed.c
index b67a2bd..1a4fce1 100644
--- a/clutter-gtk/gtk-clutter-embed.c
+++ b/clutter-gtk/gtk-clutter-embed.c
@@ -181,7 +181,7 @@ pick_embedded_child (GdkWindow       *offscreen_window,
   GtkWidget *widget;
 
   a = clutter_stage_get_actor_at_pos (CLUTTER_STAGE (priv->stage),
-				      CLUTTER_PICK_ALL,
+				      CLUTTER_PICK_REACTIVE,
 				      widget_x, widget_y);
   if (GTK_CLUTTER_IS_ACTOR (a))
     {



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