summaryrefslogtreecommitdiffstats
path: root/event.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-02-19 18:33:15 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-02-19 18:33:15 +0100
commit879241c05cbf959304a2dc4f2fabcdcecaea5092 (patch)
tree824a9185087d91eff6021c646c2372033e4f9f56 /event.c
parentchanged some odering in config*.h (diff)
downloaddwm-879241c05cbf959304a2dc4f2fabcdcecaea5092.tar.gz
dwm-879241c05cbf959304a2dc4f2fabcdcecaea5092.zip
replaced togglelayout with setlayout
Diffstat (limited to '')
-rw-r--r--event.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/event.c b/event.c
index b6a77fd..3086284 100644
--- a/event.c
+++ b/event.c
@@ -140,7 +140,8 @@ buttonpress(XEvent *e) {
140 if(ev->x < x + blw) 140 if(ev->x < x + blw)
141 switch(ev->button) { 141 switch(ev->button) {
142 case Button1: 142 case Button1:
143 togglelayout(NULL); 143 a.i = -1;
144 setlayout(&a);
144 break; 145 break;
145 case Button4: 146 case Button4:
146 a.i = 1; 147 a.i = 1;