comparison src/xfns.c @ 7209:ca5e04c9795c

(Fx_create_frame): Pass 0 as 3rd arg to x_wm_set_size_hint. (x_figure_window_size): Fix typo setting XNegative.
author Richard M. Stallman <rms@gnu.org>
date Sat, 30 Apr 1994 00:13:44 +0000
parents f9eeb75c2b76
children 02cc4eee5928
comparison
equal deleted inserted replaced
7208:2d3c771ff861 7209:ca5e04c9795c
1646 f->display.x->top_pos = XINT (tem0); 1646 f->display.x->top_pos = XINT (tem0);
1647 f->display.x->left_pos = XINT (tem1); 1647 f->display.x->left_pos = XINT (tem1);
1648 if (f->display.x->top_pos < 0) 1648 if (f->display.x->top_pos < 0)
1649 window_prompting |= YNegative; 1649 window_prompting |= YNegative;
1650 if (f->display.x->left_pos < 0) 1650 if (f->display.x->left_pos < 0)
1651 window_prompting |= YNegative; 1651 window_prompting |= XNegative;
1652 window_prompting |= USPosition; 1652 window_prompting |= USPosition;
1653 } 1653 }
1654 else if (! EQ (tem0, Qunbound) || ! EQ (tem1, Qunbound)) 1654 else if (! EQ (tem0, Qunbound) || ! EQ (tem1, Qunbound))
1655 error ("Must specify *both* top and left corners"); 1655 error ("Must specify *both* top and left corners");
1656 1656
2286 change_frame_size (f, height, width, 1, 0); 2286 change_frame_size (f, height, width, 1, 0);
2287 2287
2288 /* With the toolkit, the geometry management is done in x_window. */ 2288 /* With the toolkit, the geometry management is done in x_window. */
2289 #ifndef USE_X_TOOLKIT 2289 #ifndef USE_X_TOOLKIT
2290 BLOCK_INPUT; 2290 BLOCK_INPUT;
2291 x_wm_set_size_hint (f, window_prompting, 1); 2291 x_wm_set_size_hint (f, window_prompting, 0);
2292 UNBLOCK_INPUT; 2292 UNBLOCK_INPUT;
2293 #endif /* USE_X_TOOLKIT */ 2293 #endif /* USE_X_TOOLKIT */
2294 2294
2295 tem = x_get_arg (parms, Qunsplittable, 0, 0, boolean); 2295 tem = x_get_arg (parms, Qunsplittable, 0, 0, boolean);
2296 f->no_split = minibuffer_only || EQ (tem, Qt); 2296 f->no_split = minibuffer_only || EQ (tem, Qt);