mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-11 09:20:51 +00:00
(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
@ -876,6 +876,9 @@ EmacsFrameSetCharSize (widget, columns, rows)
|
|||||||
if (columns < 3) columns = 3; /* no way buddy */
|
if (columns < 3) columns = 3; /* no way buddy */
|
||||||
if (rows < 3) rows = 3;
|
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);
|
check_frame_size (f, &rows, &columns);
|
||||||
f->display.x->vertical_scroll_bar_extra
|
f->display.x->vertical_scroll_bar_extra
|
||||||
= (FRAME_HAS_VERTICAL_SCROLL_BARS (f)
|
= (FRAME_HAS_VERTICAL_SCROLL_BARS (f)
|
||||||
|
Loading…
Reference in New Issue
Block a user