mirror of
https://github.com/swaywm/sway.git
synced 2026-03-01 01:40:32 -05:00
Add support for nested tabbed/stacked containers
This commit is contained in:
parent
3955c66ce8
commit
3e1f78ab26
8 changed files with 234 additions and 78 deletions
|
|
@ -7,8 +7,6 @@
|
|||
#include "container.h"
|
||||
#include "focus.h"
|
||||
|
||||
extern swayc_t root_container;
|
||||
|
||||
extern list_t *scratchpad;
|
||||
|
||||
extern int min_sane_w;
|
||||
|
|
@ -55,6 +53,10 @@ void move_container_to(swayc_t* container, swayc_t* destination);
|
|||
void move_workspace_to(swayc_t* workspace, swayc_t* destination);
|
||||
|
||||
// Layout
|
||||
/**
|
||||
* Update child container geometries when switching between layouts.
|
||||
*/
|
||||
void update_layout_geometry(swayc_t *parent, enum swayc_layouts prev_layout);
|
||||
void update_geometry(swayc_t *view);
|
||||
void arrange_windows(swayc_t *container, double width, double height);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue