ClutterStage: notify "key-focus" change on clutter_stage_emit_key_focus_event
authorAlejandro Piñeiro <apinheiro@igalia.com>
Tue, 14 Feb 2012 15:37:51 +0000 (16:37 +0100)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Tue, 14 Feb 2012 15:53:54 +0000 (16:53 +0100)
clutter/clutter-stage.c

index 1b872cc..a9ab25a 100644 (file)
@@ -840,6 +840,8 @@ clutter_stage_emit_key_focus_event (ClutterStage *stage,
     g_signal_emit_by_name (priv->key_focused_actor, "key-focus-in");
   else
     g_signal_emit_by_name (priv->key_focused_actor, "key-focus-out");
+
+  g_object_notify (G_OBJECT (stage), "key-focus");
 }
 
 static void