summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/action.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/action.c b/apps/action.c
index d61930a08c..003f11faa8 100644
--- a/apps/action.c
+++ b/apps/action.c
@@ -205,7 +205,12 @@ static int get_action_worker(int context, int timeout,
205 pcmbuf_beep(4000, KEYCLICK_DURATION, 2500*global_settings.keyclick); 205 pcmbuf_beep(4000, KEYCLICK_DURATION, 2500*global_settings.keyclick);
206#endif 206#endif
207 207
208 if ((context != last_context) && ((last_button & BUTTON_REL) == 0)) 208 if ((context != last_context) && ((last_button & BUTTON_REL) == 0)
209#ifdef HAVE_SCROLLWHEEL
210 /* Scrollwheel doesn't generate release events */
211 && !(last_button & (BUTTON_SCROLL_BACK | BUTTON_SCROLL_FWD))
212#endif
213 )
209 { 214 {
210 if (button & BUTTON_REL) 215 if (button & BUTTON_REL)
211 { 216 {