From c5b9f2558730e379fdc38f01b4de955e3b4577f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Soutad=C3=A9?= Date: Wed, 18 Nov 2020 16:16:06 +0100 Subject: [PATCH] Propagate events. If not, other items doesn't get it --- extension.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/extension.js b/extension.js index bf4684c..a0f0ea3 100644 --- a/extension.js +++ b/extension.js @@ -285,9 +285,8 @@ class MonitorWidget extends PanelMenu.Button { this.menu.toggle(); else if (action == 'delete') this.dbus.deleteItem(this, this.group); - else - return Clutter.EVENT_PROPAGATE; - return Clutter.EVENT_STOP; + + return Clutter.EVENT_PROPAGATE; } _manageLeaveEvent() { @@ -322,7 +321,8 @@ class MonitorWidget extends PanelMenu.Button { Mainloop.timeout_add(this.dbus.ClutterSettings['double-click-time'], Lang.bind(this, this._doClickCallback)); } - return Clutter.EVENT_STOP; + + return Clutter.EVENT_PROPAGATE; } _onEnter(actor, event) { @@ -331,7 +331,7 @@ class MonitorWidget extends PanelMenu.Button { else return this._manageEventAction(this.onEnter); - return Clutter.EVENT_STOP; + return Clutter.EVENT_PROPAGATE; } _onLeave(actor, event) { @@ -340,7 +340,7 @@ class MonitorWidget extends PanelMenu.Button { else return this._manageEventAction(this.onEnter); - return Clutter.EVENT_STOP; + return Clutter.EVENT_PROPAGATE; } _onScroll(actor, event) { @@ -353,7 +353,7 @@ class MonitorWidget extends PanelMenu.Button { } else return this._manageEventAction(this.onEnter); - return Clutter.EVENT_STOP; + return Clutter.EVENT_PROPAGATE; } update(item) {