diff options
author | emersion <contact@emersion.fr> | 2018-04-02 15:30:58 -0400 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-04-02 15:30:58 -0400 |
commit | a4a241697ae591289d7c14eff972e1ef787216e2 (patch) | |
tree | d82d3c3eba2946670aa634a62d03feb7102f0bf8 /include/sway/tree/layout.h | |
parent | Xwayland unmanaged views aren't views anymore (diff) | |
parent | Merge pull request #1699 from acrisci/seat-fixes (diff) | |
download | sway-a4a241697ae591289d7c14eff972e1ef787216e2.tar.gz sway-a4a241697ae591289d7c14eff972e1ef787216e2.tar.zst sway-a4a241697ae591289d7c14eff972e1ef787216e2.zip |
Merge branch 'wlroots' into view-redesign
Diffstat (limited to 'include/sway/tree/layout.h')
-rw-r--r-- | include/sway/tree/layout.h | 12 |
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 | ||
19 | struct sway_container; | 16 | struct sway_container; |
@@ -32,7 +29,8 @@ struct sway_root { | |||
32 | 29 | ||
33 | void layout_init(void); | 30 | void layout_init(void); |
34 | 31 | ||
35 | void container_add_child(struct sway_container *parent, struct sway_container *child); | 32 | void container_add_child(struct sway_container *parent, |
33 | struct sway_container *child); | ||
36 | 34 | ||
37 | struct sway_container *container_add_sibling(struct sway_container *parent, | 35 | struct 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); | |||
44 | void container_move_to(struct sway_container* container, | 42 | void container_move_to(struct sway_container* container, |
45 | struct sway_container* destination); | 43 | struct sway_container* destination); |
46 | 44 | ||
47 | enum sway_container_layout container_get_default_layout(struct sway_container *output); | 45 | void container_move(struct sway_container *container, |
46 | enum movement_direction dir, int move_amt); | ||
47 | |||
48 | enum sway_container_layout container_get_default_layout( | ||
49 | struct sway_container *output); | ||
48 | 50 | ||
49 | void container_sort_workspaces(struct sway_container *output); | 51 | void container_sort_workspaces(struct sway_container *output); |
50 | 52 | ||