X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=view.c;h=4b4c9eb7ae5d7842f9057f9fcc425037b5d72005;hb=3a1343a2458aa53d50019f24a32a3ab9bb8b3a83;hp=8f5ad64fc89c4d74e022190be166c626fea86710;hpb=25060031a5e9a505c53d8462c087d80013ffdc16;p=dwm.git diff --git a/view.c b/view.c index 8f5ad64..4b4c9eb 100644 --- a/view.c +++ b/view.c @@ -169,12 +169,23 @@ focusprev(Arg *arg) } } +Bool +isvisible(Client *c) +{ + unsigned int i; + + for(i = 0; i < ntags; i++) + if(c->tags[i] && seltag[i]) + return True; + return False; +} + void -growcol(Arg *arg) +resizecol(Arg *arg) { Client *c = getnext(clients); - if(!sel || !c || !getnext(c->next) || (arrange != dotile)) + if(!sel || !getnext(c->next) || (arrange != dotile)) return; if(sel == getnext(clients)) { if(mw + arg->i > sw - 100) @@ -189,17 +200,6 @@ growcol(Arg *arg) arrange(NULL); } -Bool -isvisible(Client *c) -{ - unsigned int i; - - for(i = 0; i < ntags; i++) - if(c->tags[i] && seltag[i]) - return True; - return False; -} - void restack() {