using a global stack for focus recovery on arrange() - seems to work great
This commit is contained in:
parent
7ab8c87281
commit
15abade272
4 changed files with 26 additions and 8 deletions
3
dwm.h
3
dwm.h
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue