From 8c3b00cbc782478efd4682ef12542937d7d59228 Mon Sep 17 00:00:00 2001 From: Andrew Innes Date: Thu, 26 Jul 2001 10:06:32 +0000 Subject: [PATCH] (x_display_list): New variable. (w32_term_init): Set it. --- src/ChangeLog | 7 +++++++ src/w32term.c | 5 +++++ 2 files changed, 12 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index c08e41b8f8d..e359ccf0cb9 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,10 @@ +2001-07-26 Andrew Innes + + * w32term.c (x_display_list): New variable. + (w32_term_init): Set it. + + * w32term.h (x_display_list): New extern. + 2001-07-26 Gerd Moellmann * xdisp.c (resize_mini_window): Give up when inhibit-redisplay diff --git a/src/w32term.c b/src/w32term.c index 2c9110f49d5..085d1e2e898 100644 --- a/src/w32term.c +++ b/src/w32term.c @@ -192,6 +192,7 @@ extern Lisp_Object Vwindow_system; /* 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_term_init (display_name, xrm_option, resource_name) 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 ()); -- 2.39.5