Send wl_surface.enter for ext-session-lock surfaces

(cherry picked from commit 284966fd57)
This commit is contained in:
Simon Ser 2023-01-16 18:52:48 +01:00
parent 41e473f8c0
commit 9e9b812e3b

View file

@ -32,6 +32,7 @@ static void handle_surface_map(struct wl_listener *listener, void *data) {
if (server.session_lock.focused == NULL) { if (server.session_lock.focused == NULL) {
set_lock_focused_surface(surf->surface); set_lock_focused_surface(surf->surface);
} }
wlr_surface_send_enter(surf->surface, surf->output->wlr_output);
output_damage_whole(surf->output); output_damage_whole(surf->output);
} }