added desktop setting save back to fix sfw_mode. (broke in the previous commit)

This commit is contained in:
jbohack
2023-01-07 00:50:22 -05:00
parent 73164d6c32
commit 33d09e6bc1

View File

@@ -153,6 +153,7 @@ void desktop_set_sfw_mode_state(Desktop* desktop, bool enabled) {
desktop_main_set_sfw_mode_state(desktop->main_view, enabled); desktop_main_set_sfw_mode_state(desktop->main_view, enabled);
animation_manager_set_sfw_mode_state(desktop->animation_manager, enabled); animation_manager_set_sfw_mode_state(desktop->animation_manager, enabled);
desktop->settings.sfw_mode = enabled; desktop->settings.sfw_mode = enabled;
DESKTOP_SETTINGS_SAVE(&desktop->settings);
} }
Desktop* desktop_alloc() { Desktop* desktop_alloc() {