using double-linked list in order to get correct prev focus handling

This commit is contained in:
arg@10ksloc.org
2006-07-20 16:54:20 +02:00
parent 06dc514bc7
commit 72707c2fae
4 changed files with 45 additions and 21 deletions

3
dwm.h
View File

@ -76,7 +76,7 @@ struct Client {
Bool isfloat;
Bool ismax;
Client *next;
Client *revert;
Client *prev;
Window win;
Window title;
};
@ -135,6 +135,7 @@ extern void appendtag(Arg *arg);
extern void dofloat(Arg *arg);
extern void dotile(Arg *arg);
extern Client *getnext(Client *c, unsigned int t);
extern Client *getprev(Client *c);
extern void heretag(Arg *arg);
extern void replacetag(Arg *arg);
extern void settags(Client *c);