diff options
Diffstat (limited to 'src/state.h')
| -rw-r--r-- | src/state.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/state.h b/src/state.h index 14f7d4d..ef621f4 100644 --- a/src/state.h +++ b/src/state.h @@ -13,7 +13,8 @@ struct State { Window *win; Drawer *draw; GList *btns; - gint id; + gint idle_id; + gint anim_id; bool relayout; }; @@ -25,7 +26,9 @@ void state_remove_button(State *state, Button *btn); void state_order_button(State *state); -void state_redraw(State *state, bool changed_layout); +void state_request_redraw(State *state, bool relayout); + +void state_request_animation(State *state); void state_destroy(State *state); |
