mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
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:
parent
cb361fbb55
commit
e67e8d6ed0
1 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue