Skip to content

Commit

Permalink
Revert "Compositor: Add fade-in animation (#697)"
Browse files Browse the repository at this point in the history
This reverts commit 9f5bede.
  • Loading branch information
lenemter authored Feb 7, 2024
1 parent f733193 commit 397b064
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
15 changes: 0 additions & 15 deletions compositor/WindowManager.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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 ();
Expand Down
4 changes: 2 additions & 2 deletions src/Application.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -41,8 +43,6 @@ public int main (string[] args) {
critical (e.message);
}

Gtk.init (ref args);

var window = new Greeter.MainWindow ();
window.show_all ();

Expand Down

0 comments on commit 397b064

Please sign in to comment.