pixel_to_char_size (ew, ew->core.width, ew->core.height, &columns, &rows);
change_frame_size (f, rows, columns, 1, 0);
update_wm_hints (ew);
- {
- Window win, child;
- int win_x, win_y;
-
- /* Find the position of the outside upper-left corner of
- the window, in the root coordinate system. Don't
- refer to the parent window here; we may be processing
- this event after the window manager has changed our
- parent, but before we have reached the ReparentNotify. */
- XTranslateCoordinates (x_current_display,
-
- /* From-window, to-window. */
- XtWindow(XtParent(ew)),
- ROOT_WINDOW,
-
- /* From-position, to-position. */
- -f->display.x->widget->core.border_width,
- -f->display.x->widget->core.border_width,
- &win_x, &win_y,
-
- /* Child of win. */
- &child);
- f->display.x->widget->core.x = win_x;
- f->display.x->widget->core.y = win_y;
- }
update_various_frame_slots (ew);
}
if (FRAME_X_WINDOW (f) != 0)
{
BLOCK_INPUT;
- x_set_window_size (f, f->width, f->height);
+ x_set_window_size (f, 0, f->width, f->height);
#if 0
x_set_resize_hint (f);
#endif
XSET (frame, Lisp_Frame, f);
if (NILP (value))
- Fmake_frame_invisible (frame);
+ Fmake_frame_invisible (frame, Qt);
else if (EQ (value, Qicon))
Ficonify_frame (frame);
else
However, if the window hasn't been created yet, we shouldn't
call x_set_window_size. */
if (FRAME_X_WINDOW (f))
- x_set_window_size (f, FRAME_WIDTH (f), FRAME_HEIGHT (f));
+ x_set_window_size (f, 0, FRAME_WIDTH (f), FRAME_HEIGHT (f));
}
}
\f
tem0 = x_get_arg (parms, Qleft, 0, 0, number);
tem1 = x_get_arg (parms, Qtop, 0, 0, number);
BLOCK_INPUT;
- x_wm_set_size_hint (f, window_prompting, XINT (tem0), XINT (tem1));
+ x_wm_set_size_hint (f, window_prompting, 1, XINT (tem0), XINT (tem1));
UNBLOCK_INPUT;
tem = x_get_arg (parms, Qunsplittable, 0, 0, boolean);