diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c index 0137ca316..9e3701fc4 100644 --- a/desktop-shell/shell.c +++ b/desktop-shell/shell.c @@ -5194,6 +5194,8 @@ lock(struct desktop_shell *shell) wl_list_insert(&shell->compositor->cursor_layer.link, &shell->lock_layer.link); + weston_compositor_sleep(shell->compositor); + /* Remove the keyboard focus on all seats. This will be * restored to the workspace's saved state via * restore_focus_state when the compositor is unlocked */