applied dwm-windowscrolling patch
This commit is contained in:
parent
f2190c8fc2
commit
82be289985
1 changed files with 4 additions and 0 deletions
4
event.c
4
event.c
|
@ -144,6 +144,10 @@ buttonpress(XEvent *e) {
|
|||
setlayout(NULL);
|
||||
break;
|
||||
}
|
||||
else if(ev->button == Button4)
|
||||
focusclient("-1");
|
||||
else if(ev->button == Button5)
|
||||
focusclient("1");
|
||||
}
|
||||
else if((c = getclient(ev->window))) {
|
||||
focus(c);
|
||||
|
|
Loading…
Reference in a new issue