sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 076cf78d7cde486eaca9a2c05a6a4438ff07014e
parent 1820b3f0bb97406aefb51ef44f2c60b4f4fa5165
Author: taiyu <taiyu.len@gmail.com>
Date:   Fri, 28 Aug 2015 11:04:58 -0700

dont move floating contaienrs

Diffstat:
Msway/layout.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/sway/layout.c b/sway/layout.c @@ -198,6 +198,9 @@ void swap_geometry(swayc_t *a, swayc_t *b) { // void move_container(swayc_t *container, enum movement_direction dir) { enum swayc_layouts layout; + if (container->is_floating) { + return; + } if (dir == MOVE_UP || dir == MOVE_DOWN) { layout = L_VERT; } else if (dir == MOVE_LEFT || dir == MOVE_RIGHT) {