aboutsummaryrefslogtreecommitdiff
path: root/src/state.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/state.c')
-rw-r--r--src/state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/state.c b/src/state.c
index 11ecd77..893976a 100644
--- a/src/state.c
+++ b/src/state.c
@@ -16,6 +16,7 @@ State *state_create(Window *win, Drawable *draw)
void state_add_button(State *state, Button *btn)
{
+ // insert sorted
state->btns = g_list_append(state->btns, btn);
}