# HG changeset patch # User Gerd Moellmann # Date 996659638 0 # Node ID 0bfdfd449f4a38b6870af6a8caf46675f18f2fa6 # Parent a725886b0445e63b123c259254cf9de90a2f4ea2 (x_set_tool_bar_lines): Clear the tool bar window's current matrix when the window gets smaller. diff -r a725886b0445 -r 0bfdfd449f4a src/xfns.c --- 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); } }