applied dwm-windowscrolling patch
parent
f2190c8fc2
commit
82be289985
4
event.c
4
event.c
|
@ -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…
Reference in New Issue