Ensure root bw and gui window before asking front end to remove caret.
svn path=/trunk/netsurf/; revision=12795
This commit is contained in:
parent
fe8a22007c
commit
50508a6e75
|
@ -102,6 +102,7 @@ void browser_window_remove_caret(struct browser_window *bw)
|
|||
|
||||
root_bw = browser_window_get_root(bw);
|
||||
|
||||
if (root_bw && root_bw->window)
|
||||
gui_window_remove_caret(root_bw->window);
|
||||
|
||||
bw->caret_callback = NULL;
|
||||
|
|
Loading…
Reference in New Issue