mirror of
https://github.com/swaywm/sway.git
synced 2025-11-11 13:29:51 -05:00
basic split containers
This commit is contained in:
parent
122b96abed
commit
7706d83160
10 changed files with 245 additions and 51 deletions
|
|
@ -87,6 +87,8 @@ struct sway_container {
|
|||
} events;
|
||||
};
|
||||
|
||||
struct sway_container *container_create(enum sway_container_type type);
|
||||
|
||||
// TODO only one container create function and pass the type?
|
||||
struct sway_container *container_output_create(
|
||||
struct sway_output *sway_output);
|
||||
|
|
|
|||
|
|
@ -54,4 +54,7 @@ void arrange_windows(struct sway_container *container,
|
|||
struct sway_container *container_get_in_direction(struct sway_container
|
||||
*container, struct sway_seat *seat, enum movement_direction dir);
|
||||
|
||||
struct sway_container *container_split(struct sway_container *child,
|
||||
enum sway_container_layout layout);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue