changeset 38625:0bfdfd449f4a

(x_set_tool_bar_lines): Clear the tool bar window's current matrix when the window gets smaller.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 01 Aug 2001 09:53:58 +0000
parents a725886b0445
children 6b570d0e1cf3
files src/xfns.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Wed Aug 01 08:41:06 2001 +0000
+++ b/src/xfns.c	Wed Aug 01 09:53:58 2001 +0000
@@ -2101,6 +2101,9 @@
       x_clear_area (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f),
 		    0, y, width, height, False);
       UNBLOCK_INPUT;
+
+      if (WINDOWP (f->tool_bar_window))
+	clear_glyph_matrix (XWINDOW (f->tool_bar_window)->current_matrix);
     }
 }