summaryrefslogtreecommitdiff
path: root/framebuffer/localhistory.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2010-11-20 17:27:36 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2010-11-20 17:27:36 +0000
commit908da609e7ece5734ead083cc23cd84a8bd8d3e6 (patch)
tree8004f53122a9e85f92b0efb0bdf43ee08d2e14c7 /framebuffer/localhistory.c
parentd76e1898eee3a905954348a6496b244e857bb390 (diff)
downloadnetsurf-908da609e7ece5734ead083cc23cd84a8bd8d3e6.tar.gz
netsurf-908da609e7ece5734ead083cc23cd84a8bd8d3e6.tar.bz2
Make click action happen on release.
svn path=/trunk/netsurf/; revision=10947
Diffstat (limited to 'framebuffer/localhistory.c')
-rw-r--r--framebuffer/localhistory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/framebuffer/localhistory.c b/framebuffer/localhistory.c
index 76e4bd989..d8f2b048d 100644
--- a/framebuffer/localhistory.c
+++ b/framebuffer/localhistory.c
@@ -88,7 +88,7 @@ localhistory_click(fbtk_widget_t *widget, fbtk_callback_info *cbi)
{
struct gui_localhistory *glh = cbi->context;
- if (cbi->event->type != NSFB_EVENT_KEY_DOWN)
+ if (cbi->event->type != NSFB_EVENT_KEY_UP)
return 0;
history_click(glh->bw, glh->bw->history, cbi->x, cbi->y, false);