summaryrefslogtreecommitdiffstats
path: root/include/sway/tree/layout.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/tree/layout.h')
-rw-r--r--include/sway/tree/layout.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/include/sway/tree/layout.h b/include/sway/tree/layout.h
index fecf1582..a14152e8 100644
--- a/include/sway/tree/layout.h
+++ b/include/sway/tree/layout.h
@@ -11,9 +11,6 @@ enum movement_direction {
11 MOVE_DOWN, 11 MOVE_DOWN,
12 MOVE_PARENT, 12 MOVE_PARENT,
13 MOVE_CHILD, 13 MOVE_CHILD,
14 MOVE_NEXT,
15 MOVE_PREV,
16 MOVE_FIRST
17}; 14};
18 15
19struct sway_container; 16struct sway_container;
@@ -32,7 +29,8 @@ struct sway_root {
32 29
33void layout_init(void); 30void layout_init(void);
34 31
35void container_add_child(struct sway_container *parent, struct sway_container *child); 32void container_add_child(struct sway_container *parent,
33 struct sway_container *child);
36 34
37struct sway_container *container_add_sibling(struct sway_container *parent, 35struct sway_container *container_add_sibling(struct sway_container *parent,
38 struct sway_container *child); 36 struct sway_container *child);
@@ -44,7 +42,11 @@ struct sway_container *container_reap_empty(struct sway_container *container);
44void container_move_to(struct sway_container* container, 42void container_move_to(struct sway_container* container,
45 struct sway_container* destination); 43 struct sway_container* destination);
46 44
47enum sway_container_layout container_get_default_layout(struct sway_container *output); 45void container_move(struct sway_container *container,
46 enum movement_direction dir, int move_amt);
47
48enum sway_container_layout container_get_default_layout(
49 struct sway_container *output);
48 50
49void container_sort_workspaces(struct sway_container *output); 51void container_sort_workspaces(struct sway_container *output);
50 52