Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
applied nsz' remark
[dwm.git]
/
dwm.c
diff --git
a/dwm.c
b/dwm.c
index
cfe1e7b
..
ef723cc
100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-1463,7
+1463,7
@@
toggletag(const Arg *arg) {
return;
mask = sel->tags ^ (arg->ui & TAGMASK);
- if(
sel &&
mask) {
+ if(mask) {
sel->tags = mask;
arrange();
}