• Jim Blandy's avatar
    Use the `visiblity' parameter to determine the initial state of · 49795535
    Jim Blandy authored
    	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.
    49795535
xfns.c 109 KB