X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;ds=sidebyside;f=tag.c;h=841d0fc5fac5ed2fc633f9cbb936a5cc3431360d;hb=a20b10d01fab9e844ba7cd2cf694b45f61b89f7c;hp=4b6d513c06c6544c397dd5923cb69bd4deb4dcb3;hpb=dfa5ea63600d8c68bbe05fbc80191bd3198510b2;p=dwm.git diff --git a/tag.c b/tag.c index 4b6d513..841d0fc 100644 --- a/tag.c +++ b/tag.c @@ -281,7 +281,10 @@ void togglemode(Arg *arg) { arrange = arrange == dofloat ? dotile : dofloat; - arrange(NULL); + if(sel) + arrange(NULL); + else + drawstatus(); } void