projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f3a5cb
)
applied Martin Hurton's view() simplification, not checking arg
author
Anselm R Garbe
<garbeam@gmail.com>
Mon, 18 Aug 2008 08:49:44 +0000
(09:49 +0100)
committer
Anselm R Garbe
<garbeam@gmail.com>
Mon, 18 Aug 2008 08:49:44 +0000
(09:49 +0100)
dwm.c
patch
|
blob
|
history
diff --git
a/dwm.c
b/dwm.c
index 7d9939020a42cd1267b29d4aecbaff87257d423f..c31343c2cc9e9c8197ad68a184fd939721e9bf60 100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-1640,10
+1640,10
@@
updatewmhints(Client *c) {
void
view(const Arg *arg) {
- if(
arg &&
(arg->ui & TAGMASK) == tagset[seltags])
+ if((arg->ui & TAGMASK) == tagset[seltags])
return;
seltags ^= 1; /* toggle sel tagset */
- if(arg
&& (arg->ui & TAGMASK)
)
+ if(arg
->ui & TAGMASK
)
tagset[seltags] = arg->ui & TAGMASK;
clearurgent();
arrange();