aboutsummaryrefslogtreecommitdiff
path: root/rootston/layer_shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'rootston/layer_shell.c')
-rw-r--r--rootston/layer_shell.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rootston/layer_shell.c b/rootston/layer_shell.c
index cac325b8..749da40d 100644
--- a/rootston/layer_shell.c
+++ b/rootston/layer_shell.c
@@ -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);
}
}