changeset 38570:9606b955465e

(x_display_list): New variable. (w32_term_init): Set it.
author Andrew Innes <andrewi@gnu.org>
date Thu, 26 Jul 2001 10:05:28 +0000
parents dbf5f78bc403
children a404db64bdb2
files src/w32term.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 ());