diff options
author | MC <mc@hack.org> | 2010-06-29 14:38:42 +0200 |
---|---|---|
committer | MC <mc@brain.hack.org> | 2010-06-29 14:38:42 +0200 |
commit | 9eba663926d93cddfc4bd7d4b1ca3d073e922df9 (patch) | |
tree | f539cca8f7c47c11b983224c1575a3129867439a /list.h | |
parent | 4e7bb8c6b19077fbce47094e1b2a5bcc25ace8ba (diff) | |
download | mcwm-9eba663926d93cddfc4bd7d4b1ca3d073e922df9.zip |
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.
Diffstat (limited to 'list.h')
-rw-r--r-- | list.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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); |