[clutter] _clutter_actor_set_enable_paint_unmapped: don't force an unmap



commit 4c9443bbd7171447fa9315fa13dc7cbf383c7081
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Tue Sep 29 15:17:24 2015 -0400

    _clutter_actor_set_enable_paint_unmapped: don't force an unmap
    
    When enable_paint_unmapped is disabled, we shouldn't force the
    source widget to be unmapped if the constraints would keep it
    mapped; in practice this shouldn't matter unless a paint handler
    is messing with the map state.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=745517

 clutter/clutter-actor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c
index 53c1354..d218b85 100644
--- a/clutter/clutter-actor.c
+++ b/clutter/clutter-actor.c
@@ -15946,7 +15946,7 @@ _clutter_actor_set_enable_paint_unmapped (ClutterActor *self,
     }
   else
     {
-      clutter_actor_update_map_state (self, MAP_STATE_MAKE_UNMAPPED);
+      clutter_actor_update_map_state (self, MAP_STATE_CHECK);
     }
 }
 


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