summaryrefslogtreecommitdiffstats
path: root/app_manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'app_manager.cpp')
-rw-r--r--app_manager.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/app_manager.cpp b/app_manager.cpp
index 5bf10a6..313cf8d 100644
--- a/app_manager.cpp
+++ b/app_manager.cpp
@@ -78,6 +78,13 @@ int app_destroy(BaseApp* to_erase) {
return 0;
}
+// Refresh each app
+void app_all_bgrefresh() {
+ for (auto app : open_apps) {
+ app->bgrefresh(&app_api, app->app_get_attributes().id == g_s.current_app->app_get_attributes().id);
+ }
+}
+
// Requests the current app to be replaced by an other one. The replacement will be done at the right moment.
void app_switch_request(int to_appid) {
if (!g_s.app_switch_requested)