From c72b8b2122b088d3bdec4a2f7705fd3ce1797618 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sat, 13 Jul 2024 00:11:19 +0200 Subject: [PATCH] window-list: Fix .focused styling Commit 039c66e7b7c wrapped the button in a container to animate transitions, but didn't adjust the `.focused` styling to still apply to the button (where it is expected) rather than the wrapper. Fix that. 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 bea14b05..3edbf8bf 100644 --- a/extensions/window-list/extension.js +++ b/extensions/window-list/extension.js @@ -358,9 +358,9 @@ class BaseButton extends DashItemContainer { _updateStyle() { if (this._isFocused()) - this.add_style_class_name('focused'); + this._button.add_style_class_name('focused'); else - this.remove_style_class_name('focused'); + this._button.remove_style_class_name('focused'); } _windowEnteredOrLeftMonitor(_metaDisplay, _monitorIndex, _metaWindow) {