meta-stage: To change the stage state we need to set the event type

https://bugzilla.gnome.org/show_bug.cgi?id=746670
This commit is contained in:
Rui Matos 2015-03-30 15:41:22 +02:00 committed by Ray Strode
parent c6e6ed87c5
commit 939f7ce781

View File

@ -240,6 +240,7 @@ meta_stage_set_active (MetaStage *stage,
if (priv->is_active == is_active) if (priv->is_active == is_active)
return; return;
event.type = CLUTTER_STAGE_STATE;
clutter_event_set_stage (&event, CLUTTER_STAGE (stage)); clutter_event_set_stage (&event, CLUTTER_STAGE (stage));
event.stage_state.changed_mask = CLUTTER_STAGE_STATE_ACTIVATED; event.stage_state.changed_mask = CLUTTER_STAGE_STATE_ACTIVATED;