Switchtag patch, lose switchtag feature for client if the client is moved to another tag

This commit is contained in:
bakkeby
2020-05-20 15:25:56 +02:00
parent 5e281dcd44
commit df118dc046
2 changed files with 8 additions and 0 deletions

View File

@@ -12,6 +12,10 @@ void
combotag(const Arg *arg)
{
if (selmon->sel && arg->ui & TAGMASK) {
#if SWITCHTAG_PATCH
if (selmon->sel->switchtag)
selmon->sel->switchtag = 0;
#endif // SWITCHTAG_PATCH
if (combo) {
selmon->sel->tags |= arg->ui & TAGMASK;
} else {