diff options
author | Anselm R. Garbe <arg@suckless.org> | 2007-02-19 18:33:15 +0100 |
---|---|---|
committer | Anselm R. Garbe <arg@suckless.org> | 2007-02-19 18:33:15 +0100 |
commit | 879241c05cbf959304a2dc4f2fabcdcecaea5092 (patch) | |
tree | 824a9185087d91eff6021c646c2372033e4f9f56 /event.c | |
parent | 3794c6294535518fdcdf2ceb434875584189aa1e (diff) | |
download | dwm-879241c05cbf959304a2dc4f2fabcdcecaea5092.tar.gz |
replaced togglelayout with setlayout
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 3 |
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) { if(ev->x < x + blw) switch(ev->button) { case Button1: - togglelayout(NULL); + a.i = -1; + setlayout(&a); break; case Button4: a.i = 1; |