From: Gerd Moellmann Date: Wed, 1 Aug 2001 09:53:58 +0000 (+0000) Subject: (x_set_tool_bar_lines): Clear the tool bar window's X-Git-Tag: emacs-pretest-21.0.105~338 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ddc2474766ebcc995a25d95feedde65223ead7b7;p=emacs.git (x_set_tool_bar_lines): Clear the tool bar window's current matrix when the window gets smaller. --- 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) 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); } }