X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=event.c;h=3086284bd576d189b3466e0884fe2dae30bb7b02;hb=ad4962c7eb5f62400c762fea90d9be0e85f5c33d;hp=b6a77fdea55d10e069d9f3050470645caa29ed58;hpb=5a03daf47f3383250652c15f38f976f6157b4641;p=dwm.git 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;