diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js index 32ef1ca9e..3a844684f 100644 --- a/js/ui/screenShield.js +++ b/js/ui/screenShield.js @@ -301,7 +301,8 @@ const NotificationsBox = new Lang.Class({ }); this._updateVisibility(); - this.emit('wake-up-screen'); + if (obj.sourceBox.visible) + this.emit('wake-up-screen'); } },