ClutterStage: notify "key-focus" change on clutter_stage_emit_key_focus_event

This commit is contained in:
Alejandro Piñeiro 2012-02-14 16:37:51 +01:00
parent 0f5ddb6d6c
commit dbd603c504

View 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"); g_signal_emit_by_name (priv->key_focused_actor, "key-focus-in");
else else
g_signal_emit_by_name (priv->key_focused_actor, "key-focus-out"); g_signal_emit_by_name (priv->key_focused_actor, "key-focus-out");
g_object_notify (G_OBJECT (stage), "key-focus");
} }
static void static void