1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-03 12:31:32 -08:00

*** empty log message ***

This commit is contained in:
Fred Pierresteguy 1994-02-11 13:50:53 +00:00
parent 9d7e2e3eef
commit 363f7e15ee
2 changed files with 4 additions and 29 deletions

View file

@ -755,31 +755,6 @@ EmacsFrameResize (widget)
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);
}

View file

@ -1002,7 +1002,7 @@ x_set_internal_border_width (f, arg, oldval)
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
@ -1021,7 +1021,7 @@ x_set_visibility (f, value, oldval)
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
@ -1212,7 +1212,7 @@ x_set_vertical_scroll_bars (f, arg, oldval)
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));
}
}
@ -2118,7 +2118,7 @@ be shared by the new frame.")
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);