Blob Blame History Raw
From 4e8db57a1c6a205e50b864ed9bebc9a25cfc12ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20=C3=85dahl?= <jadahl@gmail.com>
Date: Wed, 25 Sep 2019 10:45:29 +0200
Subject: [PATCH] window-list/workspace-indicator: Set reactiveness of actual
 actor

Setting this.reactive on the workspace indicator instance doesn't change
the reactiveness of the corresponding clutter actor, as this is the
GNOME 3.28 backport where the actor is wrapped in ShellGenericContainer.

Fix this by instead setting this.actor.reactive.
---
 extensions/window-list/workspaceIndicator.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extensions/window-list/workspaceIndicator.js b/extensions/window-list/workspaceIndicator.js
index c0dd65d..f19d1c5 100644
--- a/extensions/window-list/workspaceIndicator.js
+++ b/extensions/window-list/workspaceIndicator.js
@@ -273,7 +273,7 @@ var WorkspaceIndicator = class WorkspaceIndicator extends PanelMenu.Button {
 
     _onWorkspaceOrientationChanged() {
         let vertical = global.screen.layout_rows == -1;
-        this.reactive = vertical;
+        this.actor.reactive = vertical;
 
         this._statusBin.visible = vertical;
         this._thumbnailsBox.visible = !vertical;
-- 
2.21.0