From: Jason Rumney Date: Fri, 12 Dec 2008 15:34:46 +0000 (+0000) Subject: (x_display_info_for_name, Fx_open_connection): Set X-Git-Tag: emacs-pretest-23.0.90~1131 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d5272e33cc0af2eadad7e9f0b11524a65eed4cf6;p=emacs.git (x_display_info_for_name, Fx_open_connection): Set Vwindow_system_version to the real w32 major version. --- diff --git a/src/w32fns.c b/src/w32fns.c index 3fe9622b007..2c932017239 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -4908,7 +4908,7 @@ x_display_info_for_name (name) 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 @@ terminate Emacs if we can't open the connection. */) w32_in_use = 1; - XSETFASTINT (Vwindow_system_version, 3); + XSETFASTINT (Vwindow_system_version, w32_major_version); return Qnil; }