From e0cfe076485e7df266b53eaffaa093d9c94a61a7 Mon Sep 17 00:00:00 2001 From: Anselm R. Garbe Date: Tue, 24 Jul 2007 18:29:29 +0200 Subject: applied Jeroen Schot's shiftview patch --- event.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'event.c') diff --git a/event.c b/event.c index 3f06ea7..ac96df1 100644 --- a/event.c +++ b/event.c @@ -135,6 +135,10 @@ buttonpress(XEvent *e) { else toggleview(buf); } + else if(ev->button == Button4) + shiftview("-1"); + else if(ev->button == Button5) + shiftview("1"); return; } } -- cgit v1.2.3