all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: window-system-version on Windows
Date: Thu, 04 Dec 2008 21:51:48 +0200	[thread overview]
Message-ID: <uej0noh0r.fsf@gnu.org> (raw)
In-Reply-To: <f7ccd24b0812040321w4e628e53x5c00bb258037dfa8@mail.gmail.com>

> Date: Thu, 4 Dec 2008 12:21:41 +0100
> From: "Juanma Barranquero" <lekktu@gmail.com>
> 
> 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	other threads:[~2008-12-04 19:51 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-04 11:21 window-system-version on Windows Juanma Barranquero
2008-12-04 19:51 ` Eli Zaretskii [this message]
2008-12-04 19:58   ` Juanma Barranquero
2008-12-04 20:15     ` Eli Zaretskii
2008-12-05  3:56       ` Stephen J. Turnbull
2008-12-05  4:25         ` jasonr
2008-12-05  9:55           ` Juanma Barranquero
2008-12-05  9:54         ` Juanma Barranquero
2008-12-05 11:23           ` Stephen J. Turnbull
2008-12-05 20:17             ` Juanma Barranquero
2008-12-06  4:52               ` Stephen J. Turnbull
2008-12-06  9:38                 ` Juanma Barranquero

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=uej0noh0r.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=lekktu@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.