mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-18 10:13:24 +03:00
fix hotlist keypress consumption return
This commit is contained in:
parent
124d3fe9f0
commit
597d167b9d
@ -1572,9 +1572,9 @@ void hotlist_mouse_action(browser_mouse_state mouse, int x, int y)
|
|||||||
|
|
||||||
|
|
||||||
/* Exported interface, documented in hotlist.h */
|
/* 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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -189,10 +189,10 @@ void hotlist_mouse_action(enum browser_mouse_state mouse, int x, int y);
|
|||||||
/**
|
/**
|
||||||
* Key press handling.
|
* 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.
|
* \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
|
* Determine whether there is a selection
|
||||||
|
Loading…
Reference in New Issue
Block a user