diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-08-06 16:59:43 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-08-06 16:59:43 +0100 |
commit | 597d167b9d06d417872db81c8d328318e1b0d85a (patch) | |
tree | cdba096623d08778bce67b45eb129ebd514d2ed1 /desktop | |
parent | 124d3fe9f05f0c80dc75bcfec2b23302c8a1974a (diff) | |
download | netsurf-597d167b9d06d417872db81c8d328318e1b0d85a.tar.gz netsurf-597d167b9d06d417872db81c8d328318e1b0d85a.tar.bz2 |
fix hotlist keypress consumption return
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/hotlist.c | 4 | ||||
-rw-r--r-- | desktop/hotlist.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/desktop/hotlist.c b/desktop/hotlist.c index de26ff651..cce69be8e 100644 --- a/desktop/hotlist.c +++ b/desktop/hotlist.c @@ -1572,9 +1572,9 @@ void hotlist_mouse_action(browser_mouse_state mouse, int x, int y) /* Exported interface, documented in hotlist.h */ -void hotlist_keypress(uint32_t key) +bool hotlist_keypress(uint32_t key) { - treeview_keypress(hl_ctx.tree, key); + return treeview_keypress(hl_ctx.tree, key); } diff --git a/desktop/hotlist.h b/desktop/hotlist.h index c0f4dec66..31aa0307c 100644 --- a/desktop/hotlist.h +++ b/desktop/hotlist.h @@ -189,10 +189,10 @@ void hotlist_mouse_action(enum browser_mouse_state mouse, int x, int y); /** * Key press handling. * - * \param key The ucs4 character codepoint + * \param key The ucs4 character codepoint * \return true if the keypress is dealt with, false otherwise. */ -void hotlist_keypress(uint32_t key); +bool hotlist_keypress(uint32_t key); /** * Determine whether there is a selection |