mirror of
https://github.com/swaywm/sway.git
synced 2025-11-08 13:29:50 -05:00
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.
This commit is contained in:
parent
21ad45b622
commit
b35782bcad
4 changed files with 50 additions and 16 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue