Browse Source

applied dwm-windowscrolling patch

config
arg@f00b4r 17 years ago
parent
commit
82be289985
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      event.c

+ 4
- 0
event.c View File

@ -144,6 +144,10 @@ buttonpress(XEvent *e) {
setlayout(NULL); setlayout(NULL);
break; break;
} }
else if(ev->button == Button4)
focusclient("-1");
else if(ev->button == Button5)
focusclient("1");
} }
else if((c = getclient(ev->window))) { else if((c = getclient(ev->window))) {
focus(c); focus(c);


Loading…
Cancel
Save