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