From 9e9b812e3b1e9b5b406f52335550a00693570d10 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 16 Jan 2023 18:52:48 +0100 Subject: [PATCH] Send wl_surface.enter for ext-session-lock surfaces (cherry picked from commit 284966fd57fb0efe1bcc6fc3ac23ae77e5a0d884) --- sway/lock.c | 1 + 1 file changed, 1 insertion(+) 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); }