changeset 100380:5111bebfbd1c

(x_display_info_for_name, Fx_open_connection): Set Vwindow_system_version to the real w32 major version.
author Jason Rumney <jasonr@gnu.org>
date Fri, 12 Dec 2008 15:34:46 +0000
parents 41ff1c784cee
children 070e432c7534
files src/w32fns.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32fns.c	Fri Dec 12 15:26:46 2008 +0000
+++ b/src/w32fns.c	Fri Dec 12 15:34:46 2008 +0000
@@ -4908,7 +4908,7 @@
     error ("Cannot connect to server %s", SDATA (name));
 
   w32_in_use = 1;
-  XSETFASTINT (Vwindow_system_version, 3);
+  XSETFASTINT (Vwindow_system_version, w32_major_version);
 
   return dpyinfo;
 }
@@ -4999,7 +4999,7 @@
 
   w32_in_use = 1;
 
-  XSETFASTINT (Vwindow_system_version, 3);
+  XSETFASTINT (Vwindow_system_version, w32_major_version);
   return Qnil;
 }