# HG changeset patch # User Jan D # Date 1279119993 -7200 # Node ID 3bc7daa51aa988507972ac1a22578d96a7d97a3f # Parent a4e57fa6eb3f598001cc03b00bf2dfcde546f12d 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. diff -r a4e57fa6eb3f -r 3bc7daa51aa9 src/ChangeLog --- a/src/ChangeLog Wed Jul 14 16:32:25 2010 +0200 +++ b/src/ChangeLog Wed Jul 14 17:06:33 2010 +0200 @@ -8,6 +8,8 @@ Remove #ifdef USE_GTK around finish = X_EVENT_DROP. Remove #ifdef USE_MOTIF code that did SET_SAVED_BUTTON_EVENT for ButtonRelease. + (x_set_window_size_1): scroll_bar_actual_width is always + SCROLL_BAR_COLS * COLUMN_WIDTH for the purpose of frame sizing. * xdisp.c (pending_menu_activation): Remove extern declaration. (prepare_menu_bars): Remove setting of pending_menu_activation.