aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2001-08-01 09:53:58 +0000
committerGerd Moellmann2001-08-01 09:53:58 +0000
commitddc2474766ebcc995a25d95feedde65223ead7b7 (patch)
treee3f0f9c25fdd9dd8e5c42162722025a0d141d657
parentdd388130eadc201511eabe5489b09ae0f1449dfd (diff)
downloademacs-ddc2474766ebcc995a25d95feedde65223ead7b7.tar.gz
emacs-ddc2474766ebcc995a25d95feedde65223ead7b7.zip
(x_set_tool_bar_lines): Clear the tool bar window's
current matrix when the window gets smaller.
-rw-r--r--src/xfns.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xfns.c b/src/xfns.c
index f970ea47c60..d5589a39d2b 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -2101,6 +2101,9 @@ x_set_tool_bar_lines (f, value, oldval)
2101 x_clear_area (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), 2101 x_clear_area (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f),
2102 0, y, width, height, False); 2102 0, y, width, height, False);
2103 UNBLOCK_INPUT; 2103 UNBLOCK_INPUT;
2104
2105 if (WINDOWP (f->tool_bar_window))
2106 clear_glyph_matrix (XWINDOW (f->tool_bar_window)->current_matrix);
2104 } 2107 }
2105} 2108}
2106 2109