Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
6ae9a3f2
Commit
6ae9a3f2
authored
Apr 10, 1994
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(EmacsFrameSetCharSize): Do not attempt to preserve the window position.
parent
166a4263
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
11 deletions
+1
-11
src/widget.c
src/widget.c
+1
-11
No files found.
src/widget.c
View file @
6ae9a3f2
...
...
@@ -433,7 +433,7 @@ set_frame_size (ew)
ew
->
core
.
width
=
pixel_width
;
ew
->
core
.
height
=
pixel_height
;
#if 0 /*
We don't need
this
also
. */
#if 0 /*
xfns.c takes care of
this
now
. */
/* If a position was specified, assign it to the shell widget.
(Else WM won't do anything with it.)
*/
...
...
@@ -881,9 +881,6 @@ 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
)
...
...
@@ -916,11 +913,4 @@ EmacsFrameSetCharSize (widget, columns, rows)
for, then the event won't cause the screen to become garbaged, so
we have to make sure to do it here. */
SET_FRAME_GARBAGED
(
f
);
/* Coordinates of the toplevel widget seem to have been lost.
So set it to the rignt values. */
ac
=
0
;
XtSetArg
(
al
[
ac
],
XtNx
,
f
->
display
.
x
->
left_pos
);
ac
++
;
XtSetArg
(
al
[
ac
],
XtNy
,
f
->
display
.
x
->
top_pos
);
ac
++
;
XtSetValues
(
f
->
display
.
x
->
widget
,
al
,
ac
);
}
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