sway

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

commit 9fd2d635a1f167daf0b0111e084d0e519fca0386
parent 7672886cb5927977617d274ebaec4a3840df0a5d
Author: taiyu <taiyu.len@gmail.com>
Date:   Fri, 18 Sep 2015 11:34:57 -0700

container_move check

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

diff --git a/sway/layout.c b/sway/layout.c @@ -206,7 +206,8 @@ 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) { + if (container->is_floating + || (container->type != C_VIEW && container->type != C_CONTAINER)) { return; } if (dir == MOVE_UP || dir == MOVE_DOWN) {