2017-11-19 17:04:28 -05:00
|
|
|
#ifndef _SWAY_LAYOUT_H
|
|
|
|
#define _SWAY_LAYOUT_H
|
|
|
|
|
|
|
|
struct sway_container;
|
|
|
|
|
|
|
|
void init_layout(void);
|
|
|
|
void add_child(struct sway_container *parent, struct sway_container *child);
|
2017-11-25 16:30:15 -05:00
|
|
|
struct sway_container *remove_child(struct sway_container *child);
|
2017-11-22 20:39:27 -05:00
|
|
|
enum swayc_layouts default_layout(struct sway_container *output);
|
|
|
|
void sort_workspaces(struct sway_container *output);
|
2017-11-25 10:59:49 -05:00
|
|
|
void arrange_windows(struct sway_container *container, double width, double height);
|
2017-11-19 17:04:28 -05:00
|
|
|
|
|
|
|
#endif
|