*** empty log message ***
authorFred Pierresteguy <F.Pierresteguy@frcl.bull.fr>
Fri, 11 Feb 1994 13:50:53 +0000 (13:50 +0000)
committerFred Pierresteguy <F.Pierresteguy@frcl.bull.fr>
Fri, 11 Feb 1994 13:50:53 +0000 (13:50 +0000)
src/widget.c
src/xfns.c

index ba46b24..076039b 100644 (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);
 }
 
index 4ffd39f..5478767 100644 (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));
     }
 }
 \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);