screenShield: Do not wake up screen after adding hidden source
The screen should be woken up when a new notification is shown on the lock screen, but not when a notification arrives while disabled. Add a missing condition to fix. https://bugzilla.gnome.org/show_bug.cgi?id=744114
This commit is contained in:
parent
e23a03d639
commit
c2104dbf85
@ -271,6 +271,7 @@ const NotificationsBox = new Lang.Class({
|
|||||||
});
|
});
|
||||||
|
|
||||||
this._updateVisibility();
|
this._updateVisibility();
|
||||||
|
if (obj.sourceBox.visible)
|
||||||
this.emit('wake-up-screen');
|
this.emit('wake-up-screen');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user