diff options
author | arg@10ksloc.org <unknown> | 2006-07-20 16:54:20 +0200 |
---|---|---|
committer | arg@10ksloc.org <unknown> | 2006-07-20 16:54:20 +0200 |
commit | 72707c2fae68f5eba6ea97cbf356bfb968c8a15d (patch) | |
tree | 86285130145cd1672f32c9ebe207b9d41bd10032 /tag.c | |
parent | 06dc514bc7327f1a2a35cb533bcf18715305da44 (diff) |
using double-linked list in order to get correct prev focus handling
Diffstat (limited to 'tag.c')
-rw-r--r-- | tag.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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) { |