summaryrefslogtreecommitdiff
path: root/dwm.h
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-09-07 17:53:40 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-09-07 17:53:40 +0200
commit15abade2720158fd35dcf59aa2cd5cbb325a849c (patch)
treef6255eca60e10fe5c305054e6adac07274c5a513 /dwm.h
parent7ab8c8728168234f6b9e99d1be384323d1246b10 (diff)
using a global stack for focus recovery on arrange() - seems to work great
Diffstat (limited to 'dwm.h')
-rw-r--r--dwm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/dwm.h b/dwm.h
index eba3a6ad..dd536b8a 100644
--- a/dwm.h
+++ b/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;