aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-01-16 18:52:48 +0100
committerSimon Ser <contact@emersion.fr>2023-01-18 00:48:24 +0100
commit284966fd57fb0efe1bcc6fc3ac23ae77e5a0d884 (patch)
tree9aee8d2cea8935235c6ae65e2faf2efdb4c4bd6e
parent53c9a4a6438824abfb3d539bf55aec92074977e0 (diff)
downloadsway-284966fd57fb0efe1bcc6fc3ac23ae77e5a0d884.tar.xz
Send wl_surface.enter for ext-session-lock surfaces
-rw-r--r--sway/lock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/lock.c b/sway/lock.c
index 6e7aae77..96af19c4 100644
--- a/sway/lock.c
+++ b/sway/lock.c
@@ -31,6 +31,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);
}