diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2019-01-14 21:45:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-14 21:45:14 -0500 |
commit | bbd312c95a35db9604cfac1c7b179c3d716ff094 (patch) | |
tree | a46789c96e74e56ef9bf84d83e26c1937bdfe57e /include/sway | |
parent | Disarm key repeat on reload (diff) | |
parent | Fix invalid pointers when using resize grow width on first/last siblings (diff) | |
download | sway-bbd312c95a35db9604cfac1c7b179c3d716ff094.tar.gz sway-bbd312c95a35db9604cfac1c7b179c3d716ff094.tar.zst sway-bbd312c95a35db9604cfac1c7b179c3d716ff094.zip |
Merge pull request #3422 from RyanDwyer/resize-immediate-siblings
Resize only current and immediate siblings rather than all siblings
Diffstat (limited to 'include/sway')
-rw-r--r-- | include/sway/commands.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/sway/commands.h b/include/sway/commands.h index 657f909e..68487879 100644 --- a/include/sway/commands.h +++ b/include/sway/commands.h | |||
@@ -92,9 +92,12 @@ struct cmd_results *add_color(char *buffer, const char *color); | |||
92 | /** | 92 | /** |
93 | * TODO: Move this function and its dependent functions to container.c. | 93 | * TODO: Move this function and its dependent functions to container.c. |
94 | */ | 94 | */ |
95 | void container_resize_tiled(struct sway_container *parent, enum wlr_edges edge, | 95 | void container_resize_tiled(struct sway_container *parent, uint32_t axis, |
96 | int amount); | 96 | int amount); |
97 | 97 | ||
98 | struct sway_container *container_find_resize_parent(struct sway_container *con, | ||
99 | uint32_t edge); | ||
100 | |||
98 | sway_cmd cmd_assign; | 101 | sway_cmd cmd_assign; |
99 | sway_cmd cmd_bar; | 102 | sway_cmd cmd_bar; |
100 | sway_cmd cmd_bindcode; | 103 | sway_cmd cmd_bindcode; |