mirror of
https://github.com/NickHu/sway
synced 2024-12-28 22:23:30 +01:00
dont move floating contaienrs
This commit is contained in:
parent
1820b3f0bb
commit
076cf78d7c
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue