diff --git a/xwords4/linux/gtkboard.c b/xwords4/linux/gtkboard.c index b3e9b8c75..4c9f9308b 100644 --- a/xwords4/linux/gtkboard.c +++ b/xwords4/linux/gtkboard.c @@ -2415,6 +2415,7 @@ initGlobalsNoDraw( GtkGameGlobals* globals, LaunchParams* params ) { memset( globals, 0, sizeof(*globals) ); + globals->cGlobals.gi = &globals->gi; gi_copy( MPPARM(params->mpool) globals->cGlobals.gi, ¶ms->pgi ); globals->cGlobals.params = params; diff --git a/xwords4/linux/gtkboard.h b/xwords4/linux/gtkboard.h index 9fdfb8a62..927cbb677 100644 --- a/xwords4/linux/gtkboard.h +++ b/xwords4/linux/gtkboard.h @@ -86,6 +86,7 @@ typedef struct ClientStreamRec { typedef struct GtkGameGlobals { CommonGlobals cGlobals; + CurGameInfo gi; GtkWidget* window; GtkDrawCtx* draw; GtkAppGlobals* apg;