Index: apps/action.c =================================================================== --- apps/action.c (revision 24174) +++ apps/action.c (working copy) @@ -201,16 +201,29 @@ pcmbuf_beep(4000, KEYCLICK_DURATION, 2500*global_settings.keyclick); #endif - if ((context != last_context) && ((last_button & BUTTON_REL) == 0)) + if (context == CONTEXT_QUICKSCREEN) { - if (button & BUTTON_REL) + if ((context != last_context) && ((last_button & BUTTON_REL) == 0)) { + if (button & BUTTON_REL) + { + last_button = button; + last_action = ACTION_NONE; + } + /* eat all buttons until the previous button was |BUTTON_REL + (also eat the |BUTTON_REL button) */ + return ACTION_NONE; /* "safest" return value */ + } + } + else + { + if ((context != last_context) && ((button & BUTTON_REL) == BUTTON_REL)) + { last_button = button; last_action = ACTION_NONE; + /* eat the |BUTTON_REL button */ + return ACTION_NONE; /* "safest" return value */ } - /* eat all buttons until the previous button was |BUTTON_REL - (also eat the |BUTTON_REL button) */ - return ACTION_NONE; /* "safest" return value */ } last_context = context; #ifndef HAS_BUTTON_HOLD