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
14a65ffe
Commit
14a65ffe
authored
Jan 21, 1998
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(WINDOW_RIGHT_MARGIN): Deduct width of vertical line
if frame has no scroll bars.
parent
06f57aa7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
src/window.h
src/window.h
+9
-7
No files found.
src/window.h
View file @
14a65ffe
...
@@ -207,13 +207,15 @@ struct window
...
@@ -207,13 +207,15 @@ struct window
/* Return the frame column before which the text in window W ends.
/* Return the frame column before which the text in window W ends.
This is different from WINDOW_RIGHT_EDGE because it does not include
This is different from WINDOW_RIGHT_EDGE because it does not include
a right-hand scroll bar if any. */
a scroll bar or window-separating line on the right edge. */
#define WINDOW_RIGHT_MARGIN(W) \
#define WINDOW_RIGHT_MARGIN(W) \
(WINDOW_RIGHT_EDGE (W) \
(WINDOW_RIGHT_EDGE (W) \
- (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT (XFRAME (WINDOW_FRAME (W))) \
- (! FRAME_HAS_VERTICAL_SCROLL_BARS (XFRAME (WINDOW_FRAME (W))) \
? FRAME_SCROLL_BAR_COLS (XFRAME (WINDOW_FRAME (W))) \
? 1 \
: 0))
: FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT (XFRAME (WINDOW_FRAME (W))) \
? FRAME_SCROLL_BAR_COLS (XFRAME (WINDOW_FRAME (W))) \
: 0))
/* 1 if window W takes up the full width of its frame. */
/* 1 if window W takes up the full width of its frame. */
...
...
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