diff options
author | P. J. McDermott <pj@pehjota.net> | 2021-08-06 08:25:33 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2021-08-06 08:35:56 (EDT) |
commit | ff36b7225cd146b50cb8e4522ad58aa43c6bc153 (patch) | |
tree | ef0b4d61dfc4a2d7c878b10f5f2ac3179654303a /src/tk/button.c | |
parent | ff4f77ec223c5a0b1a015789d34177d8ddb4a4b2 (diff) | |
download | mazefight-ff36b7225cd146b50cb8e4522ad58aa43c6bc153.zip mazefight-ff36b7225cd146b50cb8e4522ad58aa43c6bc153.tar.gz mazefight-ff36b7225cd146b50cb8e4522ad58aa43c6bc153.tar.bz2 |
tk: Build focus tab index
Diffstat (limited to 'src/tk/button.c')
-rw-r--r-- | src/tk/button.c | 2 |
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) { |