notificationDaemon: Fix clicks on legacy icons
Jasper removed the ShellGlobal:stage-input-mode property after its "last" use was removed. Adapt the (hopefully) really last use of the property to the recent input changes. https://bugzilla.gnome.org/show_bug.cgi?id=704095
This commit is contained in:
parent
7e7295f259
commit
13170fbb3c
@ -717,8 +717,8 @@ const Source = new Lang.Class({
|
|||||||
this.notifications.length > 0)
|
this.notifications.length > 0)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
let id = global.connect('notify::stage-input-mode', Lang.bind(this, function () {
|
let id = global.stage.connect('deactivate', Lang.bind(this, function () {
|
||||||
global.disconnect(id);
|
global.stage.disconnect(id);
|
||||||
this.trayIcon.click(event);
|
this.trayIcon.click(event);
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user