focused toplevel

This commit is contained in:
2026-01-14 09:56:27 +07:00
parent 6416e742ac
commit a79ef6929e
7 changed files with 12 additions and 24 deletions
+2
View File
@@ -25,6 +25,8 @@ void focus_toplevel(struct absinthe_toplevel *toplevel)
}
}
toplevel->server->focused_toplevel = toplevel;
struct wlr_keyboard *keyboard = wlr_seat_get_keyboard(seat);
wlr_scene_node_raise_to_top(&toplevel->scene_tree->node);
wl_list_remove(&toplevel->flink);