Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
a9e3d212
Commit
a9e3d212
authored
Mar 14, 1994
by
Fred Pierresteguy
Browse files
(EmacsFrameSetCharSize): Set the values of left_pos and
top_pos to the values of the toplevel widget coordinates.
parent
bd0d2c58
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
src/widget.c
src/widget.c
+3
-0
No files found.
src/widget.c
View file @
a9e3d212
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment