summaryrefslogtreecommitdiff
path: root/event.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@gmail.com>2007-07-24 18:29:29 +0200
committerAnselm R. Garbe <garbeam@gmail.com>2007-07-24 18:29:29 +0200
commite0cfe076485e7df266b53eaffaa093d9c94a61a7 (patch)
tree17a2b3e02e120c7ea426aa3ea16e4e2b5db46682 /event.c
parent82be28998576083b3e66ed436eb90ceba819c60a (diff)
applied Jeroen Schot's shiftview patch
Diffstat (limited to 'event.c')
-rw-r--r--event.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/event.c b/event.c
index 3f06ea76..ac96df1c 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;
}
}