diff options
Diffstat (limited to 'src/block.h')
| -rw-r--r-- | src/block.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/block.h b/src/block.h index 9468373..9c663b1 100644 --- a/src/block.h +++ b/src/block.h @@ -38,16 +38,18 @@ typedef void (*block_update_t)(block_t *block); struct block { block_type_t type; char *label; + bool active; + struct timespec update_interval; + struct timespec update_last; + block_update_t update_cb; + block_event_t event_cb; + bool hidden; color_t color; color_t line_color; int line_width; int x_padding, y_padding; int min_width, max_width; - struct timespec update_interval; - struct timespec update_last; - block_update_t update_cb; - block_event_t event_cb; union { struct { char *text; @@ -58,7 +60,7 @@ struct block { struct { int spacing; int n_children; - struct block *children; + struct block **children; } group; }; }; |
