JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
separated setup stuff into main.c:setup() - this makes main() more readable
[dwm.git] / view.c
diff --git a/view.c b/view.c
index d9aa6e4..22b1794 100644 (file)
--- a/view.c
+++ b/view.c
@@ -195,7 +195,7 @@ restack()
 void
 togglemode(Arg *arg)
 {
-       arrange = arrange == dofloat ? dotile : dofloat;
+       arrange = (arrange == dofloat) ? dotile : dofloat;
        if(sel)
                arrange(NULL);
        else