]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_set_tool_bar_lines): Clear the tool bar window's
authorGerd Moellmann <gerd@gnu.org>
Wed, 1 Aug 2001 09:53:58 +0000 (09:53 +0000)
committerGerd Moellmann <gerd@gnu.org>
Wed, 1 Aug 2001 09:53:58 +0000 (09:53 +0000)
current matrix when the window gets smaller.

src/xfns.c

index f970ea47c6024fae3a11b5267a2da73c6c567894..d5589a39d2bc8036b5a594ce269f6dd902dec164 100644 (file)
@@ -2101,6 +2101,9 @@ x_set_tool_bar_lines (f, value, oldval)
       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);
     }
 }