diff options
author | Simon Ser <contact@emersion.fr> | 2023-01-16 18:52:48 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-02-10 18:12:19 +0100 |
commit | 9e9b812e3b1e9b5b406f52335550a00693570d10 (patch) | |
tree | add4523901c1ebfbfacd32e374b2f63c2c94a8f8 | |
parent | input/tablet: handle focusing NULL surface (diff) | |
download | sway-9e9b812e3b1e9b5b406f52335550a00693570d10.tar.gz sway-9e9b812e3b1e9b5b406f52335550a00693570d10.tar.zst sway-9e9b812e3b1e9b5b406f52335550a00693570d10.zip |
Send wl_surface.enter for ext-session-lock surfaces
(cherry picked from commit 284966fd57fb0efe1bcc6fc3ac23ae77e5a0d884)
-rw-r--r-- | sway/lock.c | 1 |
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) { | |||
32 | if (server.session_lock.focused == NULL) { | 32 | if (server.session_lock.focused == NULL) { |
33 | set_lock_focused_surface(surf->surface); | 33 | set_lock_focused_surface(surf->surface); |
34 | } | 34 | } |
35 | wlr_surface_send_enter(surf->surface, surf->output->wlr_output); | ||
35 | output_damage_whole(surf->output); | 36 | output_damage_whole(surf->output); |
36 | } | 37 | } |
37 | 38 | ||