Transfer sticky nodes in move_client

Fixes #1098.
This commit is contained in:
Bastien Dejean 2020-07-26 18:18:31 +02:00
parent 5df311b12c
commit c366c2c39a

View 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;