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();
|
this.menu.toggle();
|
||||||
else if (action == 'delete')
|
else if (action == 'delete')
|
||||||
this.dbus.deleteItem(this, this.group);
|
this.dbus.deleteItem(this, this.group);
|
||||||
else
|
|
||||||
return Clutter.EVENT_PROPAGATE;
|
return Clutter.EVENT_PROPAGATE;
|
||||||
return Clutter.EVENT_STOP;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_manageLeaveEvent() {
|
_manageLeaveEvent() {
|
||||||
|
@ -322,7 +321,8 @@ class MonitorWidget extends PanelMenu.Button {
|
||||||
Mainloop.timeout_add(this.dbus.ClutterSettings['double-click-time'],
|
Mainloop.timeout_add(this.dbus.ClutterSettings['double-click-time'],
|
||||||
Lang.bind(this, this._doClickCallback));
|
Lang.bind(this, this._doClickCallback));
|
||||||
}
|
}
|
||||||
return Clutter.EVENT_STOP;
|
|
||||||
|
return Clutter.EVENT_PROPAGATE;
|
||||||
}
|
}
|
||||||
|
|
||||||
_onEnter(actor, event) {
|
_onEnter(actor, event) {
|
||||||
|
@ -331,7 +331,7 @@ class MonitorWidget extends PanelMenu.Button {
|
||||||
else
|
else
|
||||||
return this._manageEventAction(this.onEnter);
|
return this._manageEventAction(this.onEnter);
|
||||||
|
|
||||||
return Clutter.EVENT_STOP;
|
return Clutter.EVENT_PROPAGATE;
|
||||||
}
|
}
|
||||||
|
|
||||||
_onLeave(actor, event) {
|
_onLeave(actor, event) {
|
||||||
|
@ -340,7 +340,7 @@ class MonitorWidget extends PanelMenu.Button {
|
||||||
else
|
else
|
||||||
return this._manageEventAction(this.onEnter);
|
return this._manageEventAction(this.onEnter);
|
||||||
|
|
||||||
return Clutter.EVENT_STOP;
|
return Clutter.EVENT_PROPAGATE;
|
||||||
}
|
}
|
||||||
|
|
||||||
_onScroll(actor, event) {
|
_onScroll(actor, event) {
|
||||||
|
@ -353,7 +353,7 @@ class MonitorWidget extends PanelMenu.Button {
|
||||||
} else
|
} else
|
||||||
return this._manageEventAction(this.onEnter);
|
return this._manageEventAction(this.onEnter);
|
||||||
|
|
||||||
return Clutter.EVENT_STOP;
|
return Clutter.EVENT_PROPAGATE;
|
||||||
}
|
}
|
||||||
|
|
||||||
update(item) {
|
update(item) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user