# HG changeset patch # User Fred Pierresteguy # Date 760974653 0 # Node ID 4e8f26a0f2b71fa9ac593c6f2e64a499e194bec6 # Parent 105c99071e9b4b6a2852ac9f5248f393ffc24df2 *** empty log message *** diff -r 105c99071e9b -r 4e8f26a0f2b7 src/widget.c --- a/src/widget.c Fri Feb 11 13:25:11 1994 +0000 +++ b/src/widget.c Fri Feb 11 13:50:53 1994 +0000 @@ -755,31 +755,6 @@ 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 -r 105c99071e9b -r 4e8f26a0f2b7 src/xfns.c --- a/src/xfns.c Fri Feb 11 13:25:11 1994 +0000 +++ b/src/xfns.c Fri Feb 11 13:50:53 1994 +0000 @@ -1002,7 +1002,7 @@ 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 @@ 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 @@ 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 @@ 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);