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
4336c705
Commit
4336c705
authored
Mar 06, 2000
by
Gerd Moellmann
Browse files
(x_set_menu_bar_lines_1): Adjust window's orig_top and
orig_height if set.
parent
515d0d0e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
1 deletion
+19
-1
src/ChangeLog
src/ChangeLog
+9
-1
src/frame.c
src/frame.c
+5
-0
src/xfns.c
src/xfns.c
+5
-0
No files found.
src/ChangeLog
View file @
4336c705
No preview for this file type
src/frame.c
View file @
4336c705
...
...
@@ -174,6 +174,11 @@ set_menu_bar_lines_1 (window, n)
XSETFASTINT
(
w
->
last_modified
,
0
);
XSETFASTINT
(
w
->
top
,
XFASTINT
(
w
->
top
)
+
n
);
XSETFASTINT
(
w
->
height
,
XFASTINT
(
w
->
height
)
-
n
);
if
(
INTEGERP
(
w
->
orig_top
))
XSETFASTINT
(
w
->
orig_top
,
XFASTINT
(
w
->
orig_top
)
+
n
);
if
(
INTEGERP
(
w
->
orig_height
))
XSETFASTINT
(
w
->
orig_height
,
XFASTINT
(
w
->
orig_height
)
-
n
);
/* Handle just the top child in a vertical split. */
if
(
!
NILP
(
w
->
vchild
))
...
...
src/xfns.c
View file @
4336c705
...
...
@@ -1915,6 +1915,11 @@ x_set_menu_bar_lines_1 (window, n)
XSETFASTINT (w->top, XFASTINT (w->top) + n);
XSETFASTINT (w->height, XFASTINT (w->height) - n);
if (INTEGERP (w->orig_top))
XSETFASTINT (w->orig_top, XFASTINT (w->orig_top) + n);
if (INTEGERP (w->orig_height))
XSETFASTINT (w->orig_height, XFASTINT (w->orig_height) - n);
/* Handle just the top child in a vertical split. */
if (!NILP (w->vchild))
x_set_menu_bar_lines_1 (w->vchild, n);
...
...
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