diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-02-22 15:01:13 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-02-22 15:01:13 +0000 |
commit | 8445bc166bbebc4bf0abc90a8878eae7e1c4258b (patch) | |
tree | 1d256d0170743557fc00cc4b09048f068b23a6a5 /render | |
parent | c7e136d9d7810836081d7d4d39185ba2738f38bb (diff) | |
download | netsurf-8445bc166bbebc4bf0abc90a8878eae7e1c4258b.tar.gz netsurf-8445bc166bbebc4bf0abc90a8878eae7e1c4258b.tar.bz2 |
Don't bypass html form handling layer when passing keypress to textarea.
Diffstat (limited to 'render')
-rw-r--r-- | render/html_interaction.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/render/html_interaction.c b/render/html_interaction.c index d734c6b9f..87a08a4a7 100644 --- a/render/html_interaction.c +++ b/render/html_interaction.c @@ -38,6 +38,7 @@ #include "desktop/textarea.h" #include "desktop/textinput.h" #include "render/box.h" +#include "render/box_textarea.h" #include "render/font.h" #include "render/form.h" #include "render/html_internal.h" @@ -957,7 +958,7 @@ bool html_keypress(struct content *c, uint32_t key) case HTML_FOCUS_TEXTAREA: box = html->focus_owner.textarea; - return textarea_keypress(box->gadget->data.text.ta, key); + return box_textarea_keypress(html, box, key); default: /* Deal with it below */ |