mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-08 13:29:45 -05:00
Always give keyboard focus to the topmost layer
This commit is contained in:
parent
883d8d306c
commit
a94f4d0edc
4 changed files with 89 additions and 7 deletions
|
|
@ -214,7 +214,12 @@ void arrange_layers(struct roots_output *output) {
|
|||
break;
|
||||
}
|
||||
}
|
||||
wlr_log(L_DEBUG, "topmost interactive layer: %p", topmost);
|
||||
|
||||
struct roots_input *input = output->desktop->server->input;
|
||||
struct roots_seat *seat;
|
||||
wl_list_for_each(seat, &input->seats, link) {
|
||||
roots_seat_set_focus_layer(seat, topmost);
|
||||
}
|
||||
}
|
||||
|
||||
static void handle_output_destroy(struct wl_listener *listener, void *data) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue