summaryrefslogtreecommitdiffstats
path: root/include/sway/layout.h
blob: 505036a0b2040cbcf71828c712b298dd081eeb0f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#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);
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