X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/aa13727067af829b94461eb36aa029297ed8e6b9..b5159dfd2f552696b049b95e0d368a2c33a1002a:/view.c diff --git a/view.c b/view.c index d9aa6e4..22b1794 100644 --- 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