aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/layout.h
blob: f3b62b05e74bdaa1db8c3ef77717b5519258fce3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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);
struct sway_container *remove_child(struct sway_container *child);
enum swayc_layouts default_layout(struct sway_container *output);
void sort_workspaces(struct sway_container *output);
void arrange_windows(struct sway_container *container, double width, double height);

#endif