changeset 73674:1533f31680e5

(w32_createwindow): Remove code for handling -geometry command line option and `initial-frame-alist' which is superfluous after the last change to `w32_createwindow'.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 04 Nov 2006 12:21:29 +0000
parents dde3145743e4
children 26aaeb68df76
files src/w32fns.c
diffstat 1 files changed, 0 insertions(+), 25 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32fns.c	Sat Nov 04 12:11:21 2006 +0000
+++ b/src/w32fns.c	Sat Nov 04 12:21:29 2006 +0000
@@ -2080,32 +2080,7 @@
 
   if (!hprevinst)
     {
-      Lisp_Object ifa;
-
       w32_init_class (hinst);
-
-      /* Handle the -geometry command line option and the geometry
-	 settings in the registry.  They are decoded and put into
-	 initial-frame-alist by w32-win.el:x-handle-geometry.  */
-      ifa = Fsymbol_value (intern ("initial-frame-alist"));
-      if (CONSP (ifa))
-	{
-	  Lisp_Object lt = Fassq (Qleft, ifa);
-	  Lisp_Object tp = Fassq (Qtop,  ifa);
-
-	  if (!NILP (lt))
-	    {
-	      lt = XCDR (lt);
-	      if (INTEGERP (lt))
-		left = lt;
-	    }
-	  if (!NILP (tp))
-	    {
-	      tp = XCDR (tp);
-	      if (INTEGERP (tp))
-		top = tp;
-	    }
-	}
     }
 
   if (f->size_hint_flags & USPosition || f->size_hint_flags & PPosition)