summaryrefslogtreecommitdiffhomepage
path: root/patch/combo.c
diff options
context:
space:
mode:
Diffstat (limited to 'patch/combo.c')
-rw-r--r--patch/combo.c4
1 files changed, 4 insertions, 0 deletions
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 {