awesome/widgets
Julien Danjou 46f03fd6a6 area_t: make it smaller, use arrays instead of lists.
Make area_t smaller so that it fits in an uint64_t using 4 {u,}int16_t's
for it. Note that xcb uses the very same structure, so we aren't loosing
any information while remaining very small.

This is better to use arrays in term of:
* memory access when iterating over area_t's;
* allocation because area_t's have no *next/*prev members anymore, which
  makes it a tiny structure (8 octets);
* allocation because we allocate area_t's by vector of'em rather than one
  by one.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
2008-06-22 22:09:48 +02:00
..
graph.c widgets: add destructors functions 2008-06-14 22:56:05 +02:00
iconbox.c widgets: add destructors functions 2008-06-14 22:56:05 +02:00
progressbar.c widgets: add destructors functions 2008-06-14 22:56:05 +02:00
systray.c systray: support running without any systray widget 2008-06-17 13:33:17 +02:00
taglist.c area_t: make it smaller, use arrays instead of lists. 2008-06-22 22:09:48 +02:00
tasklist.c Finish markup parsing rewrite to avoid mallocs. 2008-06-22 17:45:45 +02:00
textbox.c widgets: add destructors functions 2008-06-14 22:56:05 +02:00