[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r100817: Fix frame size when scroll b
From: |
Jan D |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r100817: Fix frame size when scroll bar width not an integral of column width. |
Date: |
Wed, 14 Jul 2010 17:10:59 +0200 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 100817
committer: Jan D <address@hidden>
branch nick: trunk
timestamp: Wed 2010-07-14 17:10:59 +0200
message:
Fix frame size when scroll bar width not an integral of column width.
xterm.c (x_set_window_size_1): scroll_bar_actual_width is always
SCROLL_BAR_COLS * COLUMN_WIDTH for the purpose of frame sizing.
modified:
src/xterm.c
=== modified file 'src/xterm.c'
--- a/src/xterm.c 2010-07-14 14:32:25 +0000
+++ b/src/xterm.c 2010-07-14 15:10:59 +0000
@@ -8606,9 +8606,7 @@
f->scroll_bar_actual_width
= (!FRAME_HAS_VERTICAL_SCROLL_BARS (f)
? 0
- : FRAME_CONFIG_SCROLL_BAR_WIDTH (f) > 0
- ? FRAME_CONFIG_SCROLL_BAR_WIDTH (f)
- : (FRAME_CONFIG_SCROLL_BAR_COLS (f) * FRAME_COLUMN_WIDTH (f)));
+ : FRAME_CONFIG_SCROLL_BAR_COLS (f) * FRAME_COLUMN_WIDTH (f));
compute_fringe_widths (f, 0);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r100817: Fix frame size when scroll bar width not an integral of column width.,
Jan D <=