summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-01-24 11:25:32 +0100
committerbakkeby <[email protected]>2020-01-24 11:25:32 +0100
commitd04b3899fd9a32ed454bda1ceb515f4ffcb21fba (patch)
treec122f010722d27e4a1ffce6d565a06d1c9280128
parentb866bf5319068c0977b2f4f7e06e29e59baa83bf (diff)
downloaddwm-flexipatch-d04b3899fd9a32ed454bda1ceb515f4ffcb21fba.tar.gz
dwm-flexipatch-d04b3899fd9a32ed454bda1ceb515f4ffcb21fba.zip
Fix for using pertagbar patch, but no zoomswap patch
-rw-r--r--dwm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dwm.c b/dwm.c
index 45e0130..fba0c82 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1245,7 +1245,9 @@ createmon(void)
m->pertag->showbars[i] = m->showbar;
/* swap focus and zoomswap*/
+ #if ZOOMSWAP_PATCH
m->pertag->prevzooms[i] = NULL;
+ #endif // ZOOMSWAP_PATCH
#endif // PERTAGBAR_PATCH
}
#endif // PERTAG_PATCH