diff options
| -rw-r--r-- | dwm.c | 4 | ||||
| -rw-r--r-- | patch/combo.c | 4 |
2 files changed, 8 insertions, 0 deletions
@@ -3277,6 +3277,10 @@ tag(const Arg *arg) if (selmon->sel && arg->ui & TAGMASK) { selmon->sel->tags = arg->ui & TAGMASK; + #if SWITCHTAG_PATCH + if (selmon->sel->switchtag) + selmon->sel->switchtag = 0; + #endif // SWITCHTAG_PATCH focus(NULL); #if SWAPFOCUS_PATCH && PERTAG_PATCH selmon->pertag->prevclient[selmon->pertag->curtag] = NULL; diff --git a/patch/combo.c b/patch/combo.c index 7d1f3f2..907b645 100644 --- a/patch/combo.c +++ b/patch/combo.c @@ -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 { |
