summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2017-06-10 16:55:18 (GMT)
committer Michael Drake <tlsa@netsurf-browser.org>2017-06-10 16:55:18 (GMT)
commit50371731e33d34d587d00e0090018bfea9cb2d9e (patch)
tree52928a014124dbef4872e5d515a1db3a563aa325
parentf7380567103c1e58a5d5a51f4c6de256cb911c1b (diff)
downloadnetsurf-50371731e33d34d587d00e0090018bfea9cb2d9e.tar.gz
netsurf-50371731e33d34d587d00e0090018bfea9cb2d9e.tar.bz2
GTK: Ensure drag status is initialised in core windows.
-rw-r--r--frontends/gtk/corewindow.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/frontends/gtk/corewindow.c b/frontends/gtk/corewindow.c
index 9ad644d..0049d15 100644
--- a/frontends/gtk/corewindow.c
+++ b/frontends/gtk/corewindow.c
@@ -682,6 +682,7 @@ static struct core_window_callback_table nsgtk_cw_cb_table = {
nserror nsgtk_corewindow_init(struct nsgtk_corewindow *nsgtk_cw)
{
nsgtk_cw->cb_table = &nsgtk_cw_cb_table;
+ nsgtk_cw->drag_staus = CORE_WINDOW_DRAG_NONE;
/* input method setup */
nsgtk_cw->input_method = gtk_im_multicontext_new();