* lisp/startup.el (command-line-ns-option-alist): Add -g and --geometry.
authorJan Djärv <jan.h.d@swipnet.se>
Wed, 19 Sep 2012 06:47:01 +0000 (08:47 +0200)
committerJan Djärv <jan.h.d@swipnet.se>
Wed, 19 Sep 2012 06:47:01 +0000 (08:47 +0200)
commite543ae9174064c2820a4b9fe5ce30c9963afeb0b
treeb02f59b0019fb49f4c250bc06c75e312c45c0df3
parent2fd5e67d925be2b5fc945be5aaba27904cc65022
* lisp/startup.el (command-line-ns-option-alist): Add -g and --geometry.

* src/frame.c (read_integer, XParseGeometry): Moved from w32xfns.c.
(Fx_parse_geometry): If there is a space in string, call
Qns_parse_geometry, otherwise do as on other terms.

* src/w32xfns.c (read_integer, XParseGeometry): Move to frame.c.

* src/nsfns.m (XParseGeometry): Remove.
(Fx_create_frame): Call x_set_offset to correctly interpret
top_pos in geometry.

Fixes: debbugs:12368
lisp/ChangeLog
lisp/startup.el
src/ChangeLog
src/frame.c
src/nsfns.m
src/w32xfns.c