Commit a9e3d212 authored by Fred Pierresteguy's avatar Fred Pierresteguy
Browse files

(EmacsFrameSetCharSize): Set the values of left_pos and

top_pos to the values of the toplevel widget coordinates.
parent bd0d2c58
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment