summaryrefslogtreecommitdiff
path: root/framebuffer
diff options
context:
space:
mode:
Diffstat (limited to 'framebuffer')
-rw-r--r--framebuffer/gui.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/framebuffer/gui.c b/framebuffer/gui.c
index e8be715c1..a6bbd7107 100644
--- a/framebuffer/gui.c
+++ b/framebuffer/gui.c
@@ -729,7 +729,9 @@ fb_browser_window_click(fbtk_widget_t *widget, fbtk_callback_info *cbi)
/* Determine if it's a double or triple click, allowing
* 0.5 seconds (50cs) between clicks */
- if (time_now < last_click.time + 50) {
+ if (time_now < last_click.time + 50 &&
+ cbi->event->value.keycode != NSFB_KEY_MOUSE_4 &&
+ cbi->event->value.keycode != NSFB_KEY_MOUSE_5) {
if (last_click.type == CLICK_SINGLE) {
/* Set double click */
mouse |= BROWSER_MOUSE_DOUBLE_CLICK;