Browse Source

applied Jeroen's {clean,spell}.diff patches, thanks Jeroen!

master
Anselm R. Garbe 17 years ago
parent
commit
154497541d
2 changed files with 3 additions and 7 deletions
  1. +2
    -6
      event.c
  2. +1
    -1
      tag.c

+ 2
- 6
event.c View File

@ -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)


+ 1
- 1
tag.c View File

@ -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 then one tag selected */
return; /* more than one tag selected */
seltag[i] = False;
i += arg ? atoi(arg) : 0;
if(i < 0)


Loading…
Cancel
Save