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



commit 939f7ce781dd2fc67c75ed4049d3ffaa76ca641b
Author: Rui Matos <tiagomatos gmail com>
Date:   Mon Mar 30 15:41:22 2015 +0200

    meta-stage: To change the stage state we need to set the event type
    
    https://bugzilla.gnome.org/show_bug.cgi?id=746670

 src/backends/meta-stage.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/backends/meta-stage.c b/src/backends/meta-stage.c
index 37f1771..1965af5 100644
--- a/src/backends/meta-stage.c
+++ b/src/backends/meta-stage.c
@@ -240,6 +240,7 @@ meta_stage_set_active (MetaStage *stage,
   if (priv->is_active == is_active)
     return;
 
+  event.type = CLUTTER_STAGE_STATE;
   clutter_event_set_stage (&event, CLUTTER_STAGE (stage));
   event.stage_state.changed_mask = CLUTTER_STAGE_STATE_ACTIVATED;
 


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