mirror of
https://git.suckless.org/dwm
synced 2024-12-27 03:16:32 +00:00
saved 2LOC
This commit is contained in:
parent
77f8c075c4
commit
b01a51a844
1 changed files with 2 additions and 4 deletions
6
event.c
6
event.c
|
@ -116,12 +116,10 @@ buttonpress(XEvent *e)
|
|||
}
|
||||
break;
|
||||
case Button4:
|
||||
a.i = (tsel + 1 < TLast) ? tsel + 1 : 0;
|
||||
view(&a);
|
||||
viewnext(&a);
|
||||
break;
|
||||
case Button5:
|
||||
a.i = (tsel - 1 >= 0) ? tsel - 1 : TLast - 1;
|
||||
view(&a);
|
||||
viewprev(&a);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue