diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-01-08 16:59:26 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-01-08 16:59:26 +0000 |
commit | 8af3dd9a433fda37b27a66608d9d8b507c4bb2aa (patch) | |
tree | d0a72dd36455e76520f3c7183ff7c94d6eb49b01 /desktop/textinput.c | |
parent | de63a64b5034900c6673421d4f66e41d68834cb5 (diff) | |
download | netsurf-8af3dd9a433fda37b27a66608d9d8b507c4bb2aa.tar.gz netsurf-8af3dd9a433fda37b27a66608d9d8b507c4bb2aa.tar.bz2 |
Redo html textinput for new front end clipboard API. This doesn't affect the textinput code's brokenness.
Diffstat (limited to 'desktop/textinput.c')
-rw-r--r-- | desktop/textinput.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/desktop/textinput.c b/desktop/textinput.c index 4b3d0b6ac..b4fda5eef 100644 --- a/desktop/textinput.c +++ b/desktop/textinput.c @@ -130,7 +130,7 @@ bool browser_window_key_press(struct browser_window *bw, uint32_t key) /* safe keys that can be handled whether input claimed or not */ switch (key) { case KEY_COPY_SELECTION: - gui_copy_to_clipboard(bw->cur_sel); + selection_copy_to_clipboard(bw->cur_sel); return true; case KEY_CLEAR_SELECTION: @@ -172,6 +172,8 @@ bool browser_window_key_press(struct browser_window *bw, uint32_t key) * \param utf8_len length (bytes) of text block * \param last true iff this is the last chunk (update screen too) * \return true iff successful + * + * TODO: Remove this function. */ bool browser_window_paste_text(struct browser_window *bw, const char *utf8, |