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
69524b98
Commit
69524b98
authored
Oct 02, 1994
by
Paul Reilly
Browse files
(EmacsFrameSetCharSize): Use lw_refigure_widget() for widget set
independence.
parent
b7720e05
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
src/widget.c
src/widget.c
+3
-4
No files found.
src/widget.c
View file @
69524b98
...
...
@@ -36,6 +36,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <X11/ObjectP.h>
#include <X11/Shell.h>
#include <X11/ShellP.h>
#include "../lwlib/lwlib.h"
#define max(a, b) ((a) > (b) ? (a) : (b))
...
...
@@ -901,8 +902,7 @@ EmacsFrameSetCharSize (widget, columns, rows)
int
old_left
=
f
->
display
.
x
->
widget
->
core
.
x
;
int
old_top
=
f
->
display
.
x
->
widget
->
core
.
y
;
XawPanedSetRefigureMode
(
f
->
display
.
x
->
column_widget
,
False
);
lw_refigure_widget
(
f
->
display
.
x
->
column_widget
,
False
);
ac
=
0
;
XtSetArg
(
al
[
ac
],
XtNheight
,
pixel_height
);
ac
++
;
XtSetArg
(
al
[
ac
],
XtNwidth
,
pixel_width
);
ac
++
;
...
...
@@ -912,8 +912,7 @@ EmacsFrameSetCharSize (widget, columns, rows)
XtSetArg
(
al
[
ac
],
XtNheight
,
column_widget_height
+
hdelta
);
ac
++
;
XtSetArg
(
al
[
ac
],
XtNwidth
,
pixel_width
);
ac
++
;
XtSetValues
(
f
->
display
.
x
->
column_widget
,
al
,
ac
);
XawPanedSetRefigureMode
(
f
->
display
.
x
->
column_widget
,
True
);
lw_refigure_widget
(
f
->
display
.
x
->
column_widget
,
True
);
/* These seem to get clobbered. I don't know why. - rms. */
f
->
display
.
x
->
widget
->
core
.
x
=
old_left
;
...
...
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