[WIP] - Allow developers to specify if they want clay to open app message inbox automatically

This commit is contained in:
Keegan
2016-10-28 23:51:55 -07:00
parent ff4f41e63f
commit e328fa8cfa
3 changed files with 30 additions and 19 deletions
+2 -1
View File
@@ -59,7 +59,8 @@ static void prv_init(void) {
.settings_updated = prv_clay_updated_handler,
};
clay_init(CLAY_INBOX_SIZE, &clay_callbacks, NULL);
clay_register_callbacks(&clay_callbacks, NULL);
clay_init(CLAY_INBOX_SIZE, true);
s_window = window_create();
window_set_window_handlers(s_window, (WindowHandlers) {