Use the `visiblity' parameter to determine the initial state of
authorJim Blandy <jimb@redhat.com>
Sun, 21 Mar 1993 05:11:23 +0000 (05:11 +0000)
committerJim Blandy <jimb@redhat.com>
Sun, 21 Mar 1993 05:11:23 +0000 (05:11 +0000)
commit49795535f124fc0033a856b1d72c8262de1b3a1c
tree98824016aa48c6bedc4e6008543663ee628054c4
parent7bbbf29af065a8e86021744f44b4f2c774b71e43
Use the `visiblity' parameter to determine the initial state of
the frame, instead of the `iconic-startup' and
`suppress-initial-map'.
* xfns.c (x_icon): Test the Qvisibility parameter against Qicon,
instead of the Qiconic_startup against Qt.
(x_create_frame): Test Qvisibility against Qnil and
Qicon, instead of testing Qsuppress_initial_map and Qvisibility.
(Qicon): New symbol.
(Qiconic_startup, Qsuppress_icon, Qsuppress_initial_map): Removed.
(syms_of_xfns): Adjusted appropriately.

* xfns.c [not HAVE_X11] (x_create_frame): Check Qicon_type,
instead of Qsuppress_icon.

* xfns.c (x_set_visibility): Instead of interpreting only Qt as
`make the frame visible' and everything else as `iconify the
frame', interpret Qicon as `iconify the frame' and everything else
as `make the frame visible.'

* xfns.c (x_get_arg): When the type of the resource is `symbol',
return `true' and `on' as Qt, and `false' and `off' as Qnil.
src/xfns.c