Propagate events. If not, other items doesn't get it
This commit is contained in:
parent
b10b73135d
commit
c5b9f25587
14
extension.js
14
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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user