src/layers.c: Adjust views based on usable_area changes

This commit is contained in:
Consolatis 2022-06-30 20:02:24 +02:00 committed by Johan Malm
parent 09915b8f43
commit f4aa6118e9
4 changed files with 15 additions and 5 deletions

View file

@ -99,6 +99,16 @@ deactivate_all_views(struct server *server)
}
}
void
desktop_arrange_all_views(struct server *server)
{
/* Adjust window positions/sizes */
struct view *view;
wl_list_for_each(view, &server->views, link) {
view_adjust_for_layout_change(view);
}
}
void
desktop_focus_and_activate_view(struct seat *seat, struct view *view)
{