From 28fd210f2828ff16afe7fa202de4183f3d998b93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Mon, 7 Oct 2024 17:22:04 +0200 Subject: [PATCH] window-list: Fix minimized styling Commit 039c66e7b7c wrapped the button in a container to animate transitions, but didn't adjust the `.minimized` styling to still apply to the button (where it is expected) rather than the wrapper. Fix this just like commit c72b8b21 did for the `.focused` styling. Part-of: --- extensions/window-list/extension.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/window-list/extension.js b/extensions/window-list/extension.js index 9b9ea7b9..3a8f612a 100644 --- a/extensions/window-list/extension.js +++ b/extensions/window-list/extension.js @@ -478,9 +478,9 @@ class WindowButton extends BaseButton { super._updateStyle(); if (this.metaWindow.minimized) - this.add_style_class_name('minimized'); + this._button.add_style_class_name('minimized'); else - this.remove_style_class_name('minimized'); + this._button.remove_style_class_name('minimized'); } _windowEnteredOrLeftMonitor(metaDisplay, monitorIndex, metaWindow) {