layer: do not change keyboard-focus in map-handler

If a client wants keyboard-interactivity this will be processed in the
commit handler.

Remove duplicate (and incorrect) requrests for focus.
This commit is contained in:
Johan Malm 2024-03-09 15:04:44 +00:00 committed by Johan Malm
parent cb361fbb55
commit e67e8d6ed0

View file

@ -318,8 +318,10 @@ handle_map(struct wl_listener *listener, void *data)
* the scene. See wlr_scene_surface_create() documentation.
*/
struct seat *seat = &layer->server->seat;
layer_try_set_focus(seat, layer->scene_layer_surface->layer_surface);
/*
* Processing of keyboard-interactivity changes is done in the
* commit-handler.
*/
}
static void