summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-07-31 00:07:07 +0100
committerVincent Sanders <vince@kyllikki.org>2016-07-31 13:25:20 +0100
commit0f5d7cfcd2daade443ea0695275171247e2cfc22 (patch)
tree56647a0a11a002429e0a8561cc1022ec76702bec /desktop
parent8dbb61d2f57b32483d67434e9ac169b5f14e7460 (diff)
downloadnetsurf-0f5d7cfcd2daade443ea0695275171247e2cfc22.tar.gz
netsurf-0f5d7cfcd2daade443ea0695275171247e2cfc22.tar.bz2
Fix cookie manager keypress consumption return
Diffstat (limited to 'desktop')
-rw-r--r--desktop/cookie_manager.c4
-rw-r--r--desktop/cookie_manager.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/desktop/cookie_manager.c b/desktop/cookie_manager.c
index 6731e8edb..082a14a75 100644
--- a/desktop/cookie_manager.c
+++ b/desktop/cookie_manager.c
@@ -844,9 +844,9 @@ void cookie_manager_mouse_action(enum browser_mouse_state mouse, int x, int y)
/* Exported interface, documented in cookie_manager.h */
-void cookie_manager_keypress(uint32_t key)
+bool cookie_manager_keypress(uint32_t key)
{
- treeview_keypress(cm_ctx.tree, key);
+ return treeview_keypress(cm_ctx.tree, key);
}
diff --git a/desktop/cookie_manager.h b/desktop/cookie_manager.h
index 65690d693..4ae74a25f 100644
--- a/desktop/cookie_manager.h
+++ b/desktop/cookie_manager.h
@@ -101,7 +101,7 @@ void cookie_manager_mouse_action(enum browser_mouse_state mouse, int x, int y);
* \param key The ucs4 character codepoint
* \return true if the keypress is dealt with, false otherwise.
*/
-void cookie_manager_keypress(uint32_t key);
+bool cookie_manager_keypress(uint32_t key);
/**
* Determine whether there is a selection