summaryrefslogtreecommitdiffstats
path: root/src/tk/widget.h
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2021-08-06 09:31:42 (EDT)
committer P. J. McDermott <pj@pehjota.net>2021-08-06 09:31:42 (EDT)
commitf6b656b1f211769b71ad1ddb1ae6c22f76ef7cdc (patch)
tree400243e9f7c383bb8835b1695e472daf09d535ba /src/tk/widget.h
parent4693d1d70855b97d57cdbe92552ba304362fb453 (diff)
downloadmazefight-f6b656b1f211769b71ad1ddb1ae6c22f76ef7cdc.zip
mazefight-f6b656b1f211769b71ad1ddb1ae6c22f76ef7cdc.tar.gz
mazefight-f6b656b1f211769b71ad1ddb1ae6c22f76ef7cdc.tar.bz2
tk: Fix crash on focusing nested focusable widgets
Diffstat (limited to 'src/tk/widget.h')
-rw-r--r--src/tk/widget.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tk/widget.h b/src/tk/widget.h
index 27400c4..e9a88cb 100644
--- a/src/tk/widget.h
+++ b/src/tk/widget.h
@@ -136,4 +136,7 @@ mftk_check_set_shape(struct mftk_widget *w, enum mftk_check_shape shape);
void
mftk_check_set_state(struct mftk_widget *w, int state);
+void
+mftk_check_set_steals_focus(struct mftk_widget *w, int steals_focus);
+
#endif /* MFTK_WIDGET_H_ */