comparison src/w32fns.c @ 90650:02cf29720f31

Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 490-504) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 161-163) - Update from CVS - Merge from emacs--devo--0 Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-130
author Miles Bader <miles@gnu.org>
date Tue, 07 Nov 2006 23:22:48 +0000
parents 8dd8c8286063 1533f31680e5
children f1d13e615070
comparison
equal deleted inserted replaced
90649:d53934e7ddef 90650:02cf29720f31
2079 2079
2080 /* Do first time app init */ 2080 /* Do first time app init */
2081 2081
2082 if (!hprevinst) 2082 if (!hprevinst)
2083 { 2083 {
2084 Lisp_Object ifa;
2085
2086 w32_init_class (hinst); 2084 w32_init_class (hinst);
2087
2088 /* Handle the -geometry command line option and the geometry
2089 settings in the registry. They are decoded and put into
2090 initial-frame-alist by w32-win.el:x-handle-geometry. */
2091 ifa = Fsymbol_value (intern ("initial-frame-alist"));
2092 if (CONSP (ifa))
2093 {
2094 Lisp_Object lt = Fassq (Qleft, ifa);
2095 Lisp_Object tp = Fassq (Qtop, ifa);
2096
2097 if (!NILP (lt))
2098 {
2099 lt = XCDR (lt);
2100 if (INTEGERP (lt))
2101 left = lt;
2102 }
2103 if (!NILP (tp))
2104 {
2105 tp = XCDR (tp);
2106 if (INTEGERP (tp))
2107 top = tp;
2108 }
2109 }
2110 } 2085 }
2111 2086
2112 if (f->size_hint_flags & USPosition || f->size_hint_flags & PPosition) 2087 if (f->size_hint_flags & USPosition || f->size_hint_flags & PPosition)
2113 { 2088 {
2114 XSETINT (left, f->left_pos); 2089 XSETINT (left, f->left_pos);