summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2017-02-27 20:30:58 -0700
committerFurkan Sahin <furkan-dev@proton.me>2017-02-27 20:30:58 -0700
commit48b966515836e66f92158b51a7e78c3c95e3943f (patch)
tree18dd68d4a4f06da3dc069cfde54a3ebd2fe64f77 /include
parent1b753acd25f5cc320cb6f5b09f9b6ac4c3d7f4ab (diff)
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')
-rw-r--r--include/sway/layout.h2
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);