unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Juanma Barranquero" <lekktu@gmail.com>
To: "Emacs Devel" <emacs-devel@gnu.org>
Subject: window-system-version on Windows
Date: Thu, 4 Dec 2008 12:21:41 +0100	[thread overview]
Message-ID: <f7ccd24b0812040321w4e628e53x5c00bb258037dfa8@mail.gmail.com> (raw)

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)?

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

    Juanma




             reply	other threads:[~2008-12-04 11:21 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-04 11:21 Juanma Barranquero [this message]
2008-12-04 19:51 ` window-system-version on Windows Eli Zaretskii
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=f7ccd24b0812040321w4e628e53x5c00bb258037dfa8@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=emacs-devel@gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).