]> git.lizzy.rs Git - bspwm.git/commitdiff
Transfer sticky nodes in `move_client`
authorBastien Dejean <nihilhill@gmail.com>
Sun, 26 Jul 2020 16:18:31 +0000 (18:18 +0200)
committerBastien Dejean <nihilhill@gmail.com>
Sun, 26 Jul 2020 16:18:31 +0000 (18:18 +0200)
Fixes #1098.

src/window.c

index 1f5738f16c14ad89faf7c6ba5c3f856b95d00280..5c2471199d49daef0ce00e7d4d33d92b0838f66b 100644 (file)
@@ -534,7 +534,9 @@ bool move_client(coordinates_t *loc, int dx, int dy)
                return true;
        }
 
+       sticky_still = false;
        transfer_node(loc->monitor, loc->desktop, n, pm, pm->desk, pm->desk->focus, true);
+       sticky_still = true;
        loc->monitor = pm;
        loc->desktop = pm->desk;