summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Calvin Lee <cyrus296@gmail.com>2017-02-27 20:30:58 -0700
committerLibravatar Calvin Lee <cyrus296@gmail.com>2017-03-01 11:00:16 -0700
commitb35782bcade4eb21b8e7dab455dad64ab721438d (patch)
tree18dd68d4a4f06da3dc069cfde54a3ebd2fe64f77 /include
parentFix #1087 (diff)
downloadsway-b35782bcade4eb21b8e7dab455dad64ab721438d.tar.gz
sway-b35782bcade4eb21b8e7dab455dad64ab721438d.tar.zst
sway-b35782bcade4eb21b8e7dab455dad64ab721438d.zip
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);
48// 2 Containers geometry are swapped, used with `swap_container` 48// 2 Containers geometry are swapped, used with `swap_container`
49void swap_geometry(swayc_t *a, swayc_t *b); 49void swap_geometry(swayc_t *a, swayc_t *b);
50 50
51void move_container(swayc_t* container, enum movement_direction direction); 51void move_container(swayc_t* container, enum movement_direction direction, int move_amt);
52void move_container_to(swayc_t* container, swayc_t* destination); 52void move_container_to(swayc_t* container, swayc_t* destination);
53void move_workspace_to(swayc_t* workspace, swayc_t* destination); 53void move_workspace_to(swayc_t* workspace, swayc_t* destination);
54 54