summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/action.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/action.c b/apps/action.c
index 856bc0810c..eae00f5d18 100644
--- a/apps/action.c
+++ b/apps/action.c
@@ -224,9 +224,7 @@ static int get_action_worker(int context, int timeout,
224 static struct timeout gui_unboost; 224 static struct timeout gui_unboost;
225 /* Boost the CPU in case of wheel scrolling activity in the defined contexts. 225 /* Boost the CPU in case of wheel scrolling activity in the defined contexts.
226 * Call unboost with a timeout of GUI_BOOST_TIMEOUT. */ 226 * Call unboost with a timeout of GUI_BOOST_TIMEOUT. */
227 if ((button&(BUTTON_SCROLL_BACK|BUTTON_SCROLL_FWD)) && 227 if (button != BUTTON_NONE)
228 (context == CONTEXT_STD || context == CONTEXT_LIST ||
229 context == CONTEXT_MAINMENU || context == CONTEXT_TREE))
230 { 228 {
231 gui_boost(true); 229 gui_boost(true);
232 timeout_register(&gui_unboost, gui_unboost_callback, GUI_BOOST_TIMEOUT, 0); 230 timeout_register(&gui_unboost, gui_unboost_callback, GUI_BOOST_TIMEOUT, 0);