From cf37676fb100fad9a422159d27ff1d3f260f7d60 Mon Sep 17 00:00:00 2001 From: Christian Soffke Date: Sun, 14 Aug 2022 02:35:36 +0200 Subject: pictureflow: fix FS#13360 softlock cannot be disabled Change-Id: Id34cc737f9d43a5cbaf5519a6f05ca31efbee8f2 --- apps/plugins/pictureflow/pictureflow.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps') diff --git a/apps/plugins/pictureflow/pictureflow.c b/apps/plugins/pictureflow/pictureflow.c index b20225492e..0e5585681d 100644 --- a/apps/plugins/pictureflow/pictureflow.c +++ b/apps/plugins/pictureflow/pictureflow.c @@ -963,6 +963,9 @@ const struct custom_format format_transposed = { static const struct button_mapping* get_context_map(int context) { +#ifdef HAVE_LOCKED_ACTIONS + context &= ~CONTEXT_LOCKED; +#endif return pf_contexts[context & ~CONTEXT_PLUGIN]; } -- cgit v1.2.3