replaced togglelayout with setlayout
This commit is contained in:
parent
3794c62945
commit
879241c05c
5 changed files with 29 additions and 21 deletions
3
event.c
3
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue