diff --git a/src/Widgets/MultitaskingView/WindowClone.vala b/src/Widgets/MultitaskingView/WindowClone.vala index b4349418e..934af2e3d 100644 --- a/src/Widgets/MultitaskingView/WindowClone.vala +++ b/src/Widgets/MultitaskingView/WindowClone.vala @@ -140,7 +140,6 @@ public class Gala.WindowClone : ActorTarget { }; window_title = new Tooltip (); - window_title.opacity = 0; add_child (active_shape); add_child (clone_container); @@ -258,17 +257,16 @@ public class Gala.WindowClone : ActorTarget { add_target (new PropertyTarget (MULTITASKING_VIEW, this, "x", typeof (float), (float) window_rect.x, (float) slot.x)); add_target (new PropertyTarget (MULTITASKING_VIEW, this, "y", typeof (float), (float) window_rect.y, (float) slot.y)); - add_target (new PropertyTarget (MULTITASKING_VIEW, this, "width", typeof (float), (float) window_rect.width, (float) slot.width)); add_target (new PropertyTarget (MULTITASKING_VIEW, this, "height", typeof (float), (float) window_rect.height, (float) slot.height)); - + add_target (new PropertyTarget (MULTITASKING_VIEW, this, "shadow-opacity", typeof (uint8), (uint8) 0u, (uint8) 255u)); if (should_fade ()) { add_target (new PropertyTarget (MULTITASKING_VIEW, this, "opacity", typeof (uint8), (uint8) 0u, (uint8) 255u)); } add_target (new PropertyTarget (MULTITASKING_VIEW, window_icon, "opacity", typeof (uint), 0u, 255u)); - add_target (new PropertyTarget (MULTITASKING_VIEW, this, "shadow-opacity", typeof (uint8), (uint8) 0u, (uint8) 255u)); + add_target (new PropertyTarget (MULTITASKING_VIEW, window_title, "opacity", typeof (uint), 0u, 255u)); } public override void start_progress (GestureAction action) { @@ -394,12 +392,6 @@ public class Gala.WindowClone : ActorTarget { close_button.set_easing_duration (duration); close_button.opacity = show ? 255 : 0; close_button.restore_easing_state (); - - window_title.save_easing_state (); - window_title.set_easing_mode (Clutter.AnimationMode.LINEAR); - window_title.set_easing_duration (duration); - window_title.opacity = show ? 255 : 0; - window_title.restore_easing_state (); } /**