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:
parent
c6e6ed87c5
commit
939f7ce781
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user