Introduction
Introduction Statistics Contact Development Disclaimer Help
tnon-zero - dwm - [fork] customized build of dwm, the dynamic window manager
git clone git://src.adamsgaard.dk/dwm
Log
Files
Refs
README
LICENSE
---
commit 79ecbeca7e4ca6d614bf233e7bc95d273df6e3b4
parent cf98ea2a9ce0b8ccbb3bbb510421c48279a1b280
Author: Anselm R Garbe <[email protected]>
Date: Thu, 19 Jun 2008 09:11:11 +0100
non-zero
Diffstat:
M config.mk | 2 +-
M dwm.c | 12 ++++++++++--
2 files changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/config.mk b/config.mk
t@@ -1,5 +1,5 @@
# dwm version
-VERSION = 5.0
+VERSION = 5.0.1
# Customize below to fit your system
diff --git a/dwm.c b/dwm.c
t@@ -1496,14 +1496,22 @@ togglemax(const Arg *arg) {
void
toggletag(const Arg *arg) {
- if(sel && (sel->tags ^= (arg->ui & TAGMASK)))
+ uint mask = sel->tags ^ (arg->ui & TAGMASK);
+
+ if(sel && mask) {
+ sel->tags = mask;
arrange();
+ }
}
void
toggleview(const Arg *arg) {
- if((tagset[seltags] ^= (arg->ui & TAGMASK)))
+ uint mask = tagset[seltags] ^ (arg->ui & TAGMASK);
+
+ if(mask) {
+ tagset[seltags] = mask;
arrange();
+ }
}
void
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.