summaryrefslogtreecommitdiff
path: root/desktop/textinput.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/textinput.c')
-rw-r--r--desktop/textinput.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop/textinput.c b/desktop/textinput.c
index 0aaaa3d65..e4364a968 100644
--- a/desktop/textinput.c
+++ b/desktop/textinput.c
@@ -1105,6 +1105,8 @@ void browser_window_remove_caret(struct browser_window *bw)
{
gui_window_remove_caret(bw->window);
bw->caret_callback = NULL;
+ bw->paste_callback = NULL;
+ bw->move_callback = NULL;
bw->caret_p = NULL;
}