summaryrefslogtreecommitdiff
path: root/apps/gui/skin_engine/skin_tokens.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/skin_engine/skin_tokens.c')
-rw-r--r--apps/gui/skin_engine/skin_tokens.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/skin_tokens.c b/apps/gui/skin_engine/skin_tokens.c
index 3c6a817ea8..ec6f606938 100644
--- a/apps/gui/skin_engine/skin_tokens.c
+++ b/apps/gui/skin_engine/skin_tokens.c
@@ -1378,6 +1378,10 @@ const char *get_token_value(struct gui_wps *gwps,
#endif
case SKIN_TOKEN_MAIN_HOLD:
+#ifdef HAVE_TOUCHSCREEN
+ if (data->touchscreen_locked)
+ return "t";
+#endif
#ifdef HAS_BUTTON_HOLD
if (button_hold())
#else