tsaved 2LOC - dwm - [fork] customized build of dwm, the dynamic window manager
(HTM) git clone git://src.adamsgaard.dk/dwm
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit b01a51a8449aa591a02ec22eb31850c2ae644687
(DIR) parent 77f8c075c48e510e064b8f0b7b823a7e1f9f44b7
(HTM) Author: arg@10ksloc.org <unknown>
Date: Tue, 1 Aug 2006 15:16:29 +0200
saved 2LOC
Diffstat:
M event.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
(DIR) diff --git a/event.c b/event.c
t@@ -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;
}
}