From 8af3dd9a433fda37b27a66608d9d8b507c4bb2aa Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 8 Jan 2013 16:59:26 +0000 Subject: Redo html textinput for new front end clipboard API. This doesn't affect the textinput code's brokenness. --- desktop/textinput.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'desktop') 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, -- cgit v1.2.3