(EmacsFrameSetCharSize): Set the values of left_pos and
top_pos to the values of the toplevel widget coordinates.
This commit is contained in:
parent
bd0d2c58e1
commit
a9e3d21271
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue