diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js index 76efd037c..1cfc21177 100644 --- a/js/ui/screenShield.js +++ b/js/ui/screenShield.js @@ -271,7 +271,8 @@ const NotificationsBox = new Lang.Class({ }); this._updateVisibility(); - this.emit('wake-up-screen'); + if (obj.sourceBox.visible) + this.emit('wake-up-screen'); } },