emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: window-system-version on Windows


From: Eli Zaretskii
Subject: Re: window-system-version on Windows
Date: Thu, 04 Dec 2008 21:51:48 +0200

> Date: Thu, 4 Dec 2008 12:21:41 +0100
> From: "Juanma Barranquero" <address@hidden>
> 
> Why is Fwindow_system_version initialized to 1 on dispnew.c
> 
>   #ifdef HAVE_NTGUI
>     if (!inhibit_window_system)
>       {
>         Vinitial_window_system = intern ("w32");
>         Vwindow_system_version = make_number (1);
>         adjust_frame_glyphs_initially ();
>         return;
>       }
>   #endif /* HAVE_NTGUI */
> 
> and then unconditionally set to 3
> 
>   XSETFASTINT (Vwindow_system_version, 3);
> 
> at two places of w32fns.c (x_display_info_for_name and Fx_open_connection)?

Probably a result of patchwork of some kind.

> Also, what is its meaning on Windows? What does the 3 stands for?

The 3rd version of the native Windows GUI for Emacs?  You can see that
it's 11 for the X11 GUI.

IOW, I doubt that there's some deep meaning to this number.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]