From 2b28197363271be99559da668f3c5a89dd276be3 Mon Sep 17 00:00:00 2001 From: jderose9 Date: Fri, 17 Feb 2017 23:52:39 -0500 Subject: [PATCH] Allow disabling of window launch animation --- taskbar.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/taskbar.js b/taskbar.js index 2c39898..cd51502 100644 --- a/taskbar.js +++ b/taskbar.js @@ -1524,7 +1524,8 @@ const taskbarAppIcon = new Lang.Class({ break; case "LAUNCH": - this.animateLaunch(); + if(this._dtpSettings.get_boolean('animate-window-launch')) + this.animateLaunch(); this.app.open_new_window(-1); break; @@ -1579,7 +1580,8 @@ const taskbarAppIcon = new Lang.Class({ } } else { - this.animateLaunch(); + if(this._dtpSettings.get_boolean('animate-window-launch')) + this.animateLaunch(); this.app.open_new_window(-1); }