X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/2b5553b1ebf7c8e59b5ecf7128b932115ff2b313..04eb016e782743ec88f150ec6f5389703bed3ce2:/tag.c?ds=sidebyside diff --git a/tag.c b/tag.c index 5da3c31..21eb9fa 100644 --- a/tag.c +++ b/tag.c @@ -140,6 +140,13 @@ getnext(Client *c, unsigned int t) return c; } +Client * +getprev(Client *c) +{ + for(; c && !c->tags[tsel]; c = c->prev); + return c; +} + void heretag(Arg *arg) {