From aafd1491c68fd111c4171b7901e4ad4a2f8e4724 Mon Sep 17 00:00:00 2001 From: Leo Date: Thu, 8 Feb 2024 00:19:53 +0900 Subject: [PATCH] Revert "Compositor: Add fade-in animation (#697)" (#701) --- compositor/WindowManager.vala | 15 --------------- src/Application.vala | 4 ++-- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/compositor/WindowManager.vala b/compositor/WindowManager.vala index 7cbb88fcc..65028ce0a 100644 --- a/compositor/WindowManager.vala +++ b/compositor/WindowManager.vala @@ -76,21 +76,6 @@ namespace GreeterCompositor { public override void start () { show_stage (); - unowned var background_actor = system_background.background_actor; - background_actor.opacity = 0; - background_actor.save_easing_state (); - background_actor.set_easing_duration (1000); - background_actor.set_easing_mode (Clutter.AnimationMode.EASE); - background_actor.opacity = 255; - background_actor.restore_easing_state (); - - ui_group.opacity = 0; - ui_group.save_easing_state (); - ui_group.set_easing_duration (1000); - ui_group.set_easing_mode (Clutter.AnimationMode.EASE); - ui_group.opacity = 255; - ui_group.restore_easing_state (); - unowned Meta.Display display = get_display (); display.gl_video_memory_purged.connect (() => { refresh_background (); diff --git a/src/Application.vala b/src/Application.vala index c107f55a0..9695b4532 100644 --- a/src/Application.vala +++ b/src/Application.vala @@ -32,6 +32,8 @@ public int main (string[] args) { var settings_daemon = new Greeter.SettingsDaemon (); settings_daemon.start (); + Gtk.init (ref args); + Greeter.SubprocessSupervisor compositor; Greeter.SubprocessSupervisor wingpanel; @@ -41,8 +43,6 @@ public int main (string[] args) { critical (e.message); } - Gtk.init (ref args); - var window = new Greeter.MainWindow (); window.show_all ();