]> git.eshelyaron.com Git - emacs.git/commitdiff
(EmacsFrameSetCharSize): Set the values of left_pos and
authorFred Pierresteguy <F.Pierresteguy@frcl.bull.fr>
Mon, 14 Mar 1994 16:44:04 +0000 (16:44 +0000)
committerFred Pierresteguy <F.Pierresteguy@frcl.bull.fr>
Mon, 14 Mar 1994 16:44:04 +0000 (16:44 +0000)
top_pos to the values of the toplevel widget coordinates.

src/widget.c

index eb593f15b7d1c62773fadf21de5de6c38a563747..aabd63accd676f0af6704665a1e0f80d2399f9fd 100644 (file)
@@ -876,6 +876,9 @@ EmacsFrameSetCharSize (widget, columns, rows)
   if (columns < 3) columns = 3;  /* no way buddy */
   if (rows < 3) rows = 3;
 
+  f->display.x->left_pos = f->display.x->widget->core.x;
+  f->display.x->top_pos = f->display.x->widget->core.y;
+
   check_frame_size (f, &rows, &columns);
   f->display.x->vertical_scroll_bar_extra
     = (FRAME_HAS_VERTICAL_SCROLL_BARS (f)