Fixed moving window tag issue (#237)
+ when moving window from monitor with different tags selected the moved window would not get the tags set properly if multiple windows are already on that monitor
This commit is contained in:
committed by
GitHub
parent
55592623f5
commit
5c321794f1
@@ -88,8 +88,10 @@ placemouse(const Arg *arg)
|
||||
if ((r && r != prevr) || (attachmode != prevattachmode)) {
|
||||
detachstack(c);
|
||||
detach(c);
|
||||
if (c->mon != r->mon)
|
||||
if (c->mon != r->mon) {
|
||||
arrangemon(c->mon);
|
||||
c->tags = r->mon->tagset[r->mon->seltags];
|
||||
}
|
||||
|
||||
c->mon = r->mon;
|
||||
r->mon->sel = r;
|
||||
|
Reference in New Issue
Block a user