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:
e0cfe07
)
applied Jeroen's {clean,spell}.diff patches, thanks Jeroen!
author
Anselm R. Garbe
<garbeam@gmail.com>
Thu, 26 Jul 2007 18:15:02 +0000
(20:15 +0200)
committer
Anselm R. Garbe
<garbeam@gmail.com>
Thu, 26 Jul 2007 18:15:02 +0000
(20:15 +0200)
event.c
patch
|
blob
|
history
tag.c
patch
|
blob
|
history
diff --git
a/event.c
b/event.c
index ac96df1c190ad464d4ac2c5e67490189170811a0..1454b0b767fd243ea8efe045ce8cd973ebe5bbf6 100644
(file)
--- a/
event.c
+++ b/
event.c
@@
-142,12
+142,8
@@
buttonpress(XEvent *e) {
return;
}
}
- if(ev->x < x + blw)
- switch(ev->button) {
- case Button1:
- setlayout(NULL);
- break;
- }
+ if(ev->x < x + blw && ev->button == Button1)
+ setlayout(NULL);
else if(ev->button == Button4)
focusclient("-1");
else if(ev->button == Button5)
diff --git
a/tag.c
b/tag.c
index 19c63b1b5dcd73141302bfd86fb1db75b6937e8a..2311ade97753bb26f87b69f452c8ab2f50317ccf 100644
(file)
--- a/
tag.c
+++ b/
tag.c
@@
-106,7
+106,7
@@
shiftview(const char *arg) {
for(i = 0; !seltag[i]; i++);
for(j = i + 1; j < ntags && !seltag[j]; j++);
if(j < ntags)
- return; /* more th
e
n one tag selected */
+ return; /* more th
a
n one tag selected */
seltag[i] = False;
i += arg ? atoi(arg) : 0;
if(i < 0)