Andrey Panov <[EMAIL PROTECTED]> writes:
> 
> It seems that opening of new window increases fvwm's memory size
> by 10-20Kb and memory is not freed after closing of the window.

This looks suspicious in add_window.c line 347:

static void destroy_icon_font(FvwmWindow *tmp_win)
{
  if (IS_ICON_FONT_LOADED(tmp_win) && !USING_DEFAULT_ICON_FONT(tmp_win) &&
      tmp_win->title_font.font != Scr.DefaultFont.font)
  {
    FreeFvwmFont(dpy, &(tmp_win->icon_font));
  }
  SET_ICON_FONT_LOADED(tmp_win, 0);
  /* Fall back to default font (see comment above). */
  tmp_win->icon_font = Scr.DefaultFont;
  SET_USING_DEFAULT_ICON_FONT(tmp_win, 1);
}

Try changing title_font to icon_font.
I have some work to do and can't check it myself until later.

-- 
Dan Espen
444 Hoes Lane  Room RRC 1C-214           E-mail: [EMAIL PROTECTED]
Piscataway, NJ 08854                     Phone: (732) 699-5570
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to