using a global stack for focus recovery on arrange() - seems to work great

This commit is contained in:
Anselm R. Garbe
2006-09-07 17:53:40 +02:00
parent 7ab8c87281
commit 15abade272
4 changed files with 26 additions and 8 deletions

3
dwm.h
View File

@ -61,6 +61,7 @@ struct Client {
Bool *tags;
Client *next;
Client *prev;
Client *snext;
Window win;
Window twin;
};
@ -73,7 +74,7 @@ extern void (*handler[LASTEvent])(XEvent *);
extern void (*arrange)(Arg *);
extern Atom wmatom[WMLast], netatom[NetLast];
extern Bool running, issel, maximized, *seltag;
extern Client *clients, *sel;
extern Client *clients, *sel, *stack;
extern Cursor cursor[CurLast];
extern DC dc;
extern Display *dpy;