added support for scratchpad moving between monitors in the same way as normal windows
This commit is contained in:
parent
3f7477bc1b
commit
711e8d801e
5
dwm.c
5
dwm.c
@ -1773,7 +1773,12 @@ tagmon(const Arg *arg)
|
|||||||
{
|
{
|
||||||
if (!selmon->sel || !mons->next)
|
if (!selmon->sel || !mons->next)
|
||||||
return;
|
return;
|
||||||
|
if(selmon->sel->tags > 1 << LENGTH(tags) << LENGTH(scratchpads))
|
||||||
sendmon(selmon->sel, dirtomon(arg->i));
|
sendmon(selmon->sel, dirtomon(arg->i));
|
||||||
|
else {
|
||||||
|
dirtomon(arg->i)->tagset[dirtomon(arg->i)->seltags] |= selmon->sel->tags;
|
||||||
|
sendmontags(selmon->sel, dirtomon(arg->i), selmon->sel->tags);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user