]> git.lizzy.rs Git - bspwm.git/commitdiff
Revert "Transfer sticky nodes in `move_client`"
authorBastien Dejean <nihilhill@gmail.com>
Sun, 26 Jul 2020 18:42:21 +0000 (20:42 +0200)
committerBastien Dejean <nihilhill@gmail.com>
Sun, 26 Jul 2020 18:42:21 +0000 (20:42 +0200)
This is unnecessary since we're transferring to the active desktop of
the destination monitor.

So #1098 should in fact be fixed by 5df311b12c06dca86f8e5a56ee522bd48d2178bc.

src/window.c

index 5c2471199d49daef0ce00e7d4d33d92b0838f66b..1f5738f16c14ad89faf7c6ba5c3f856b95d00280 100644 (file)
@@ -534,9 +534,7 @@ 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;