X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=dwm.c;h=29af1bd29499d67dbf7b212b822fef51a54ddc70;hp=f5aa010aaec2d0b3d7e9563f934ed2f08b909faf;hb=016dca4f694cb51c7db77aeeefcb55b8869f3842;hpb=8f052596b2c79e74c0e47b93595f13a754b3e2ef diff --git a/dwm.c b/dwm.c index f5aa010..29af1bd 100644 --- a/dwm.c +++ b/dwm.c @@ -324,9 +324,9 @@ buttonpress(XEvent *e) { } } if(ev->x < x + blw) { - if(ev->button == Button1) + if(ev->button == Button1) togglelayout(NULL); - else if(ev->button == Button3) + else if(ev->button == Button3) togglemax(NULL); } } @@ -662,7 +662,7 @@ focusstack(const Arg *arg) { for(i = clients; i != sel; i = i->next) if (!i->isbanned) c = i; - if(!c) + if(!c) for(; i; i = i->next) if (!i->isbanned) c = i;