# HG changeset patch # User Jason Rumney # Date 1229096086 0 # Node ID 5111bebfbd1cfe9cd78519cd8531d3e3812a0cf7 # Parent 41ff1c784cee424e7d2ea2949659246a47646036 (x_display_info_for_name, Fx_open_connection): Set Vwindow_system_version to the real w32 major version. diff -r 41ff1c784cee -r 5111bebfbd1c src/w32fns.c --- 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; }