aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2023-01-16 18:52:48 +0100
committerLibravatar Simon Ser <contact@emersion.fr>2023-01-18 00:48:24 +0100
commit284966fd57fb0efe1bcc6fc3ac23ae77e5a0d884 (patch)
tree9aee8d2cea8935235c6ae65e2faf2efdb4c4bd6e
parentinput/tablet: handle focusing NULL surface (diff)
downloadsway-284966fd57fb0efe1bcc6fc3ac23ae77e5a0d884.tar.gz
sway-284966fd57fb0efe1bcc6fc3ac23ae77e5a0d884.tar.zst
sway-284966fd57fb0efe1bcc6fc3ac23ae77e5a0d884.zip
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) {
31 if (server.session_lock.focused == NULL) { 31 if (server.session_lock.focused == NULL) {
32 set_lock_focused_surface(surf->surface); 32 set_lock_focused_surface(surf->surface);
33 } 33 }
34 wlr_surface_send_enter(surf->surface, surf->output->wlr_output);
34 output_damage_whole(surf->output); 35 output_damage_whole(surf->output);
35} 36}
36 37