diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-04-02 13:23:43 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-04-02 13:23:43 -0400 |
commit | 5e024278a62e6fb00a0521240244c428d2382984 (patch) | |
tree | d9010d33d4d576297cc5e40d41bed4bb7bf5631a /include/sway/tree/layout.h | |
parent | 22287b42bf323457d779b1023764ade83313b199 (diff) | |
parent | 2a8985a3451f8be7e4b1eb21e3266e9f5b979b39 (diff) |
Merge branch 'wlroots' into seat-fixes
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 0a904c4b..e1034657 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; @@ -32,7 +29,8 @@ struct sway_root { void layout_init(void); -void container_add_child(struct sway_container *parent, struct sway_container *child); +void container_add_child(struct sway_container *parent, + struct sway_container *child); struct sway_container *container_add_sibling(struct sway_container *parent, struct sway_container *child); @@ -44,7 +42,11 @@ struct sway_container *container_reap_empty(struct sway_container *container); void container_move_to(struct sway_container* container, struct sway_container* destination); -enum sway_container_layout container_get_default_layout(struct sway_container *output); +void container_move(struct sway_container *container, + enum movement_direction dir, int move_amt); + +enum sway_container_layout container_get_default_layout( + struct sway_container *output); void container_sort_workspaces(struct sway_container *output); |