replaced togglelayout with setlayout

This commit is contained in:
Anselm R. Garbe
2007-02-19 18:33:15 +01:00
parent 3794c62945
commit 879241c05c
5 changed files with 29 additions and 21 deletions

View File

@ -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;