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