# HG changeset patch # User Andrew Innes # Date 996141928 0 # Node ID 9606b955465e49c78cb167e99a2cb14bdd132b75 # Parent dbf5f78bc403384a538b0adfa60424c343dc0888 (x_display_list): New variable. (w32_term_init): Set it. diff -r dbf5f78bc403 -r 9606b955465e src/w32term.c --- a/src/w32term.c Thu Jul 26 10:05:02 2001 +0000 +++ b/src/w32term.c Thu Jul 26 10:05:28 2001 +0000 @@ -192,6 +192,7 @@ /* This is display since w32 does not support multiple ones. */ struct w32_display_info one_w32_display_info; +struct w32_display_info *x_display_list; /* This is a list of cons cells, each of the form (NAME . FONT-LIST-CACHE), one for each element of w32_display_list and in the same order. @@ -10196,6 +10197,10 @@ w32_initialize_display_info (display_name); dpyinfo = &one_w32_display_info; + + /* Put this display on the chain. */ + dpyinfo->next = x_display_list; + x_display_list = dpyinfo; hdc = GetDC (GetDesktopWindow ());