|
|
@ -116,12 +116,10 @@ buttonpress(XEvent *e)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case Button4:
|
|
|
|
case Button4:
|
|
|
|
a.i = (tsel + 1 < TLast) ? tsel + 1 : 0;
|
|
|
|
viewnext(&a);
|
|
|
|
view(&a);
|
|
|
|
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case Button5:
|
|
|
|
case Button5:
|
|
|
|
a.i = (tsel - 1 >= 0) ? tsel - 1 : TLast - 1;
|
|
|
|
viewprev(&a);
|
|
|
|
view(&a);
|
|
|
|
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|