X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/5a03daf47f3383250652c15f38f976f6157b4641..e7508783e85aba0ce4ab09b0dd76c40342113aed:/event.c?ds=sidebyside 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;