mirror of
https://github.com/labwc/labwc.git
synced 2026-03-03 01:40:37 -05:00
src/layers.c: Adjust views based on usable_area changes
This commit is contained in:
parent
09915b8f43
commit
f4aa6118e9
4 changed files with 15 additions and 5 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue