summaryrefslogtreecommitdiffhomepage
path: root/patch/combo.c
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-05-20 15:25:56 +0200
committerbakkeby <[email protected]>2020-05-20 16:43:09 +0200
commitdf118dc04668793b974def1f607d41f72d0e0d03 (patch)
tree24ab83fa20650ad2d8f24f6162cc2499cce09953 /patch/combo.c
parent5e281dcd446c9ff982b6b569e5405fde79a955bf (diff)
downloaddwm-flexipatch-df118dc04668793b974def1f607d41f72d0e0d03.tar.gz
dwm-flexipatch-df118dc04668793b974def1f607d41f72d0e0d03.zip
Switchtag patch, lose switchtag feature for client if the client is moved to another tag
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 {