From 9eba663926d93cddfc4bd7d4b1ca3d073e922df9 Mon Sep 17 00:00:00 2001 From: MC Date: Tue, 29 Jun 2010 14:38:42 +0200 Subject: Added focus change from keyboard, Mod2-TAB. For now, it's a simple window ring. This also means focuswin is now a pointer to a struct client and that we have a linked list of all mapped windows not in override redirect mode. --- list.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 list.h (limited to 'list.h') diff --git a/list.h b/list.h new file mode 100644 index 0000000..ffa323d --- /dev/null +++ b/list.h @@ -0,0 +1,11 @@ +struct item +{ + void *data; + struct item *prev; + struct item *next; +}; + +void movetohead(struct item **mainlist, struct item *item); +struct item *additem(struct item **mainlist); +void delitem(struct item **mainlist, struct item *item); +void listitems(struct item *mainlist); -- cgit v1.2.3