Handle layer surfaces below shell surfaces

This commit is contained in:
Drew DeVault 2018-04-02 17:00:09 -04:00
parent a94f4d0edc
commit 37036df822
4 changed files with 23 additions and 10 deletions

View file

@ -218,7 +218,8 @@ void arrange_layers(struct roots_output *output) {
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);
roots_seat_set_focus_layer(seat,
topmost ? topmost->layer_surface : NULL);
}
}