Adding tagmonfixfs patch

This commit is contained in:
bakkeby
2019-09-05 23:39:25 +02:00
parent 448f8db4c2
commit 1d7247ebb5
3 changed files with 23 additions and 1 deletions

11
dwm.c
View File

@@ -1952,9 +1952,20 @@ tag(const Arg *arg)
void
tagmon(const Arg *arg)
{
#if TAGMONFIXFS_PATCH
Client *c = selmon->sel;
if (!c || !mons->next)
return;
sendmon(c, dirtomon(arg->i));
if (c->isfullscreen) {
setfullscreen(c, 0);
setfullscreen(c, 1);
}
#else
if (!selmon->sel || !mons->next)
return;
sendmon(selmon->sel, dirtomon(arg->i));
#endif // TAGMONFIXFS_PATCH
}
void