mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-22 14:01:47 -07:00
(WINDOW_RIGHT_MARGIN): Don't subtract 1 from width when there are no
vertical scrollbars and this is the rightmost window in the frame.
This commit is contained in:
parent
07e464ab32
commit
490fe8b05c
1 changed files with 1 additions and 1 deletions
|
|
@ -212,7 +212,7 @@ struct window
|
|||
#define WINDOW_RIGHT_MARGIN(W) \
|
||||
(WINDOW_RIGHT_EDGE (W) \
|
||||
- (! FRAME_HAS_VERTICAL_SCROLL_BARS (XFRAME (WINDOW_FRAME (W))) \
|
||||
? 1 \
|
||||
? ((WINDOW_RIGHTMOST_P (W)) ? 0 : 1) \
|
||||
: FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT (XFRAME (WINDOW_FRAME (W))) \
|
||||
? FRAME_SCROLL_BAR_COLS (XFRAME (WINDOW_FRAME (W))) \
|
||||
: 0))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue