summaryrefslogtreecommitdiffstats
path: root/src/tk/button.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tk/button.c')
-rw-r--r--src/tk/button.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tk/button.c b/src/tk/button.c
index 57e505a..a236dd4 100644
--- a/src/tk/button.c
+++ b/src/tk/button.c
@@ -108,7 +108,7 @@ mftk_button_new(TTF_Font *font, const char *text, SDL_Color *text_color,
struct mftk_widget *w;
struct mftk_button *b;
- mftk_widget_init(w, b, button);
+ mftk_widget_init_focusable(w, b, button);
b->label = mftk_label_new(font, text, text_color, renderer);
if (b->label == NULL) {