GTK: Ensure drag status is initialised in core windows.

This commit is contained in:
Michael Drake 2017-06-10 17:55:18 +01:00
parent f738056710
commit 50371731e3
1 changed files with 1 additions and 0 deletions

View File

@ -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();