mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-22 12:12:35 +03:00
Fix cookie manager keypress consumption return
This commit is contained in:
parent
8dbb61d2f5
commit
0f5d7cfcd2
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user