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
b80c363e
Commit
b80c363e
authored
Apr 26, 1996
by
Richard M. Stallman
Browse files
(x_scroll_bar_clear): Do nothing if frame now has no scroll bars.
parent
637ad741
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
src/xterm.c
src/xterm.c
+8
-4
No files found.
src/xterm.c
View file @
b80c363e
...
...
@@ -3053,10 +3053,14 @@ x_scroll_bar_clear (f)
{
Lisp_Object
bar
;
for
(
bar
=
FRAME_SCROLL_BARS
(
f
);
VECTORP
(
bar
);
bar
=
XSCROLL_BAR
(
bar
)
->
next
)
XClearArea
(
FRAME_X_DISPLAY
(
f
),
SCROLL_BAR_X_WINDOW
(
XSCROLL_BAR
(
bar
)),
0
,
0
,
0
,
0
,
True
);
/* We can have scroll bars even if this is 0,
if we just turned off scroll bar mode.
But in that case we should not clear them. */
if
(
FRAME_HAS_VERTICAL_SCROLL_BARS
(
f
))
for
(
bar
=
FRAME_SCROLL_BARS
(
f
);
VECTORP
(
bar
);
bar
=
XSCROLL_BAR
(
bar
)
->
next
)
XClearArea
(
FRAME_X_DISPLAY
(
f
),
SCROLL_BAR_X_WINDOW
(
XSCROLL_BAR
(
bar
)),
0
,
0
,
0
,
0
,
True
);
}
/* This processes Expose events from the menubar specific X event
...
...
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