From: Johan Malm Date: Sat, 9 Mar 2024 15:04:44 +0000 (+0000) Subject: layer: do not change keyboard-focus in map-handler X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=e67e8d6ed002827eb477aaeb85b4f75ee11a77aa;p=proto%2Flabwc.git 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. --- diff --git a/src/layers.c b/src/layers.c index e0c5c7e8..9f3486ec 100644 --- a/src/layers.c +++ b/src/layers.c @@ -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