diff options
Diffstat (limited to 'src/block.h')
| -rw-r--r-- | src/block.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/block.h b/src/block.h index 2179348..33fc797 100644 --- a/src/block.h +++ b/src/block.h @@ -32,7 +32,7 @@ typedef struct block block_t; // Triggered when an event is directed towards the block // -typedef void (*block_event_t)(block_t *block, event_t *event); +typedef void (*block_event_t)(block_t *block, event_t event); // Regularly called depending on the inverval passed from the last update // @@ -47,7 +47,7 @@ struct block { int line_width; int x_padding, y_padding; int min_width, max_width; - int update_interval; + struct timespec update_interval; struct timespec update_last; block_update_t update_cb; block_event_t event_cb; |
