mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 18:40:39 -08:00
[MPS] Make one_w32_display_info an ambiguous root
* src/w32term.c (w32_initialize_display_info): Create root.
This commit is contained in:
parent
b53526fec2
commit
a5b63a6ade
1 changed files with 6 additions and 0 deletions
|
|
@ -47,6 +47,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
|
|||
#include "window.h"
|
||||
#include "keyboard.h"
|
||||
#include "menu.h" /* for w32_menu_show */
|
||||
#include "igc.h"
|
||||
|
||||
#ifdef WINDOWSNT
|
||||
#include "w32.h" /* for filename_from_utf16, filename_from_ansi */
|
||||
|
|
@ -7725,6 +7726,11 @@ w32_initialize_display_info (Lisp_Object display_name)
|
|||
{
|
||||
struct w32_display_info *dpyinfo = &one_w32_display_info;
|
||||
|
||||
#ifdef HAVE_MPS
|
||||
igc_root_create_ambig (&one_w32_display_info, &one_w32_display_info + 1,
|
||||
"w32-display-info");
|
||||
#endif
|
||||
|
||||
memset (dpyinfo, 0, sizeof (*dpyinfo));
|
||||
|
||||
dpyinfo->name_list_element = Fcons (display_name, Qnil);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue