diff src/xfns.c @ 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 0b974a5d9460
children 24e6b905a458
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);
     }
 }