summaryrefslogtreecommitdiff
path: root/sway/lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/lock.c')
-rw-r--r--sway/lock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/lock.c b/sway/lock.c
index bf7d5de8..e893622f 100644
--- a/sway/lock.c
+++ b/sway/lock.c
@@ -32,6 +32,7 @@ static void handle_surface_map(struct wl_listener *listener, void *data) {
if (server.session_lock.focused == NULL) {
set_lock_focused_surface(surf->surface);
}
+ wlr_surface_send_enter(surf->surface, surf->output->wlr_output);
output_damage_whole(surf->output);
}