summaryrefslogtreecommitdiffstats
path: root/buttons.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'buttons.hpp')
-rw-r--r--buttons.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/buttons.hpp b/buttons.hpp
index b8ecbc3..fa05e4e 100644
--- a/buttons.hpp
+++ b/buttons.hpp
@@ -16,7 +16,8 @@ struct global_status {
int current_app = 0;
bool is_sleeping = false;
bool app_ready = true;
- bool app_rendering = false;
+ bool app_switch_requested = false;
+ int app_switch_to_app = 0;
// Debounce control
// See https://www.raspberrypi.org/forums/viewtopic.php?f=145&t=301522#p1812063