Propagate events. If not, other items doesn't get it

This commit is contained in:
Grégory Soutadé 2020-11-18 16:16:06 +01:00
parent b10b73135d
commit c5b9f25587

View File

@ -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) {