changeset 6331:888f7465fd94

(EmacsFrameSetCharSize): Set the values of left_pos and top_pos to the values of the toplevel widget coordinates.
author Fred Pierresteguy <F.Pierresteguy@frcl.bull.fr>
date Mon, 14 Mar 1994 16:44:04 +0000
parents 3badf836d51d
children 8aa62a50270d
files src/widget.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/widget.c	Mon Mar 14 16:02:05 1994 +0000
+++ b/src/widget.c	Mon Mar 14 16:44:04 1994 +0000
@@ -876,6 +876,9 @@
   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)