From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: window-system-version on Windows Date: Thu, 04 Dec 2008 21:51:48 +0200 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1228420378 24592 80.91.229.12 (4 Dec 2008 19:52:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Dec 2008 19:52:58 +0000 (UTC) Cc: emacs-devel@gnu.org To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 04 20:54:01 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L8KGb-0007kD-7A for ged-emacs-devel@m.gmane.org; Thu, 04 Dec 2008 20:53:41 +0100 Original-Received: from localhost ([127.0.0.1]:36598 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L8KFQ-0004lp-DE for ged-emacs-devel@m.gmane.org; Thu, 04 Dec 2008 14:52:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L8KEk-0004Pv-Sr for emacs-devel@gnu.org; Thu, 04 Dec 2008 14:51:46 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L8KEk-0004PM-06 for emacs-devel@gnu.org; Thu, 04 Dec 2008 14:51:46 -0500 Original-Received: from [199.232.76.173] (port=52692 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L8KEj-0004PE-JM for emacs-devel@gnu.org; Thu, 04 Dec 2008 14:51:45 -0500 Original-Received: from mtaout5.012.net.il ([84.95.2.13]:27688) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L8KEj-00010W-2t for emacs-devel@gnu.org; Thu, 04 Dec 2008 14:51:45 -0500 Original-Received: from conversion-daemon.i_mtaout5.012.net.il by i_mtaout5.012.net.il (HyperSendmail v2004.12) id <0KBD00J00B4G4100@i_mtaout5.012.net.il> for emacs-devel@gnu.org; Thu, 04 Dec 2008 21:53:54 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.111.178]) by i_mtaout5.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KBD00MT0B9TNRQ0@i_mtaout5.012.net.il>; Thu, 04 Dec 2008 21:53:54 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:106576 Archived-At: > Date: Thu, 4 Dec 2008 12:21:41 +0100 > From: "Juanma Barranquero" > > 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.