changeset 90893:c36f1ca93a6e

(x_default_font_parameter): Use new style font name. (Fx_create_frame, x_create_tip_frame): Initialize resx and resy.
author Jason Rumney <jasonr@gnu.org>
date Thu, 31 May 2007 23:40:51 +0000
parents 9433429e2007
children 2f6131d7643f
files src/w32fns.c
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32fns.c	Thu May 31 23:35:51 2007 +0000
+++ b/src/w32fns.c	Thu May 31 23:40:51 2007 +0000
@@ -4147,7 +4147,7 @@
     {
       int i;
       static char *names[]
-        = { "-*-Courier New-normal-r-*-*-*-100-*-*-c-*-iso8859-1",
+        = { "Courier New-10",
             "-*-Courier-normal-r-*-*-13-*-*-*-c-*-iso8859-1",
             "-*-Fixedsys-normal-r-*-*-12-*-*-*-c-*-iso8859-1",
             "Fixedsys",
@@ -4297,6 +4297,9 @@
       specbind (Qx_resource_name, name);
     }
 
+  f->resx = dpyinfo->resx;
+  f->resy = dpyinfo->resy;
+
 #ifdef USE_FONT_BACKEND
   if (enable_font_backend)
     {
@@ -7395,6 +7398,9 @@
       specbind (Qx_resource_name, name);
     }
 
+  f->resx = dpyinfo->resx;
+  f->resy = dpyinfo->resy;
+
 #ifdef USE_FONT_BACKEND
   if (enable_font_backend)
     {