From: Fred Pierresteguy Date: Fri, 11 Feb 1994 13:50:53 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: emacs-19.34~9952 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=363f7e15eeafcbae48b194ccd9dc92deedf93568;p=emacs.git *** empty log message *** --- diff --git a/src/widget.c b/src/widget.c index ba46b247e2f..076039b0140 100644 --- a/src/widget.c +++ b/src/widget.c @@ -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); } diff --git a/src/xfns.c b/src/xfns.c index 4ffd39f7df4..54787673692 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -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);