diff options
author | Calvin Lee <cyrus296@gmail.com> | 2017-02-27 20:30:58 -0700 |
---|---|---|
committer | Calvin Lee <cyrus296@gmail.com> | 2017-03-01 11:00:16 -0700 |
commit | b35782bcade4eb21b8e7dab455dad64ab721438d (patch) | |
tree | 18dd68d4a4f06da3dc069cfde54a3ebd2fe64f77 /include/sway | |
parent | 21ad45b622eb1fc2c68d1036fd9763a37fec668b (diff) | |
download | sway-b35782bcade4eb21b8e7dab455dad64ab721438d.tar.xz |
i3 feature support: Moving flotaing containers
This commit lets the 'move' command apply to floating containers as well
as tiled ones. The command may be appended with a number of pixels and
then optionally the string `px` (like '10 px') in order to move the
container more or fewer than the standard ten pixels.
Diffstat (limited to 'include/sway')
-rw-r--r-- | include/sway/layout.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sway/layout.h b/include/sway/layout.h index fbedcdb3..f0791588 100644 --- a/include/sway/layout.h +++ b/include/sway/layout.h @@ -48,7 +48,7 @@ void swap_container(swayc_t *a, swayc_t *b); // 2 Containers geometry are swapped, used with `swap_container` void swap_geometry(swayc_t *a, swayc_t *b); -void move_container(swayc_t* container, enum movement_direction direction); +void move_container(swayc_t* container, enum movement_direction direction, int move_amt); void move_container_to(swayc_t* container, swayc_t* destination); void move_workspace_to(swayc_t* workspace, swayc_t* destination); |