applied Jeroen's {clean,spell}.diff patches, thanks Jeroen!
This commit is contained in:
parent
e0cfe07648
commit
154497541d
6
event.c
6
event.c
|
@ -142,12 +142,8 @@ buttonpress(XEvent *e) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(ev->x < x + blw)
|
if(ev->x < x + blw && ev->button == Button1)
|
||||||
switch(ev->button) {
|
|
||||||
case Button1:
|
|
||||||
setlayout(NULL);
|
setlayout(NULL);
|
||||||
break;
|
|
||||||
}
|
|
||||||
else if(ev->button == Button4)
|
else if(ev->button == Button4)
|
||||||
focusclient("-1");
|
focusclient("-1");
|
||||||
else if(ev->button == Button5)
|
else if(ev->button == Button5)
|
||||||
|
|
2
tag.c
2
tag.c
|
@ -106,7 +106,7 @@ shiftview(const char *arg) {
|
||||||
for(i = 0; !seltag[i]; i++);
|
for(i = 0; !seltag[i]; i++);
|
||||||
for(j = i + 1; j < ntags && !seltag[j]; j++);
|
for(j = i + 1; j < ntags && !seltag[j]; j++);
|
||||||
if(j < ntags)
|
if(j < ntags)
|
||||||
return; /* more then one tag selected */
|
return; /* more than one tag selected */
|
||||||
seltag[i] = False;
|
seltag[i] = False;
|
||||||
i += arg ? atoi(arg) : 0;
|
i += arg ? atoi(arg) : 0;
|
||||||
if(i < 0)
|
if(i < 0)
|
||||||
|
|
Loading…
Reference in New Issue