diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-04-02 14:06:04 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-04-02 14:06:04 -0400 |
commit | 2187684bd09928748f8b3a82c2e25e5ae82f5ae6 (patch) | |
tree | e70e2862280a410f8f0d617abc3539d6f0ae056e /include/sway/tree/layout.h | |
parent | b5d49cc4e86b5da5a3479c2d2a763be50184f75d (diff) | |
parent | 2a8985a3451f8be7e4b1eb21e3266e9f5b979b39 (diff) | |
download | sway-2187684bd09928748f8b3a82c2e25e5ae82f5ae6.tar.xz |
Merge branch 'wlroots' into split-containers
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 53f72ec4..fbc3d6af 100644 --- a/include/sway/tree/layout.h +++ b/include/sway/tree/layout.h @@ -11,9 +11,6 @@ enum movement_direction { MOVE_DOWN, MOVE_PARENT, MOVE_CHILD, - MOVE_NEXT, - MOVE_PREV, - MOVE_FIRST }; struct sway_container; @@ -33,7 +30,8 @@ struct sway_root { void layout_init(void); // TODO move to tree.h -void container_add_child(struct sway_container *parent, struct sway_container *child); +void container_add_child(struct sway_container *parent, + struct sway_container *child); // TODO move to tree.h struct sway_container *container_add_sibling(struct sway_container *parent, @@ -49,8 +47,12 @@ struct sway_container *container_reap_empty(struct sway_container *container); void container_move_to(struct sway_container* container, struct sway_container* destination); +void container_move(struct sway_container *container, + enum movement_direction dir, int move_amt); + // TODO move to output.c -enum sway_container_layout container_get_default_layout(struct sway_container *output); +enum sway_container_layout container_get_default_layout( + struct sway_container *output); // TODO move to output.c void container_sort_workspaces(struct sway_container *output); |