diff --git a/js/ui/userMenu.js b/js/ui/userMenu.js index 12e49d415..a99a9d5da 100644 --- a/js/ui/userMenu.js +++ b/js/ui/userMenu.js @@ -718,7 +718,7 @@ const UserMenuButton = new Lang.Class({ if (this._haveSuspend && this._suspendOrPowerOffItem.state == PopupMenu.PopupAlternatingMenuItemState.DEFAULT) { - // Ensure we only suspend after the screensaver has activated + // Ensure we only suspend after locking the screen this._screenSaverProxy.LockRemote(true, Lang.bind(this, function() { this._upClient.suspend_sync(null); }));