aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2025-02-10 10:19:09 +0100
committerJoe <rbo@gmx.us>2025-02-10 10:19:09 +0100
commit8b56978cfb9374fc48ad649a28d774ea84197a06 (patch)
tree164494b9f535afc6e648c2d993a04e390c6fe09d
parentup (diff)
downloaddwm-8b56978cfb9374fc48ad649a28d774ea84197a06.tar.gz
dwm-8b56978cfb9374fc48ad649a28d774ea84197a06.tar.bz2
dwm-8b56978cfb9374fc48ad649a28d774ea84197a06.tar.xz
dwm-8b56978cfb9374fc48ad649a28d774ea84197a06.tar.zst
dwm-8b56978cfb9374fc48ad649a28d774ea84197a06.zip
thx gptHEADmaster
Diffstat (limited to '')
-rw-r--r--config.def.h2
-rw-r--r--dwm.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h
index 64dbd4b..c4fa0ed 100644
--- a/config.def.h
+++ b/config.def.h
@@ -10,7 +10,7 @@ static const unsigned int systrayonleft = 0; /* 0: systray in the right corne
static const unsigned int systrayspacing = 2; /* systray spacing */
static const int systraypinningfailfirst = 1; /* 1: if pinning fails, display systray on the first monitor, False: display systray on the last monitor*/
static const int showsystray = 1; /* 0 means no systray */
-static const int showbar = 1; /* 0 means no bar */
+static const int showbar = 0; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
static const int user_bh = 30; /* 0 means that dwm will calculate bar height, >= 1 means dwm will user_bh as bar height */
static const int focusonwheel = 0;
diff --git a/dwm.c b/dwm.c
index 5639a54..475e2a0 100644
--- a/dwm.c
+++ b/dwm.c
@@ -3478,8 +3478,10 @@ view(const Arg *arg)
selmon->tagset[selmon->seltags] = arg->ui & TAGMASK;
selmon->pertag->prevtag = selmon->pertag->curtag;
- if (arg->ui == ~0)
+ if (arg->ui == ~0) {
+ selmon->tagset[selmon->seltags] = 0x1ff;
selmon->pertag->curtag = 0;
+ }
else {
for (i = 0; !(arg->ui & 1 << i); i++) ;
selmon->pertag->curtag = i + 1;