diff options
author | Anselm R. Garbe <garbeam@gmail.com> | 2007-07-24 18:29:29 +0200 |
---|---|---|
committer | Anselm R. Garbe <garbeam@gmail.com> | 2007-07-24 18:29:29 +0200 |
commit | e0cfe076485e7df266b53eaffaa093d9c94a61a7 (patch) | |
tree | 17a2b3e02e120c7ea426aa3ea16e4e2b5db46682 /event.c | |
parent | 82be28998576083b3e66ed436eb90ceba819c60a (diff) | |
download | dwm-e0cfe076485e7df266b53eaffaa093d9c94a61a7.tar.gz |
applied Jeroen Schot's shiftview patch
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; } } |