* w32fns.c (x_set_tool_bar_lines): Don't clear area on frames
that are not visible.
+2014-01-29 Martin Rudalics <rudalics@gmx.at>
+
+ * w32fns.c (x_set_tool_bar_lines): Don't clear area on frames
+ that are not visible.
+
2014-01-29 Jan Djärv <jan.h.d@swipnet.se>
* xmenu.c (create_and_show_popup_menu): Handle case when no key
/* If the tool bar gets smaller, the internal border below it
has to be cleared. It was formerly part of the display
of the larger tool bar, and updating windows won't clear it. */
- if (FRAME_INTERNAL_BORDER_WIDTH (f) != 0)
+ if (FRAME_INTERNAL_BORDER_WIDTH (f) != 0 && FRAME_VISIBLE_P (f))
{
int height = FRAME_INTERNAL_BORDER_WIDTH (f);
int width = FRAME_PIXEL_WIDTH (f);