The attached patch to borders.c in CVS fixes a small bug with MultiPixmap titlebars. The bug causes the titlebar to sometimes not update properly immediately after a resize.
Suzanne -- [EMAIL PROTECTED] - http://www.igs.net/~tril/
--- borders.c.orig Sun Sep 8 17:52:15 2002 +++ borders.c Sun Sep 8 17:52:28 2002 @@ -259,7 +259,6 @@ int before_space, after_space, under_offset, under_width; int size; FlocaleWinString fstr; - rectangle tmp_g; Bool has_vt = HAS_VERTICAL_TITLE(fw); pm = df->u.multi_pixmaps; @@ -268,20 +267,19 @@ XSetClipMask(dpy, gc, None); title = fw->visible_name; - tmp_g.width = 0; - tmp_g.height = 0; - get_title_geometry(fw, &tmp_g); if (pm[TBP_MAIN]) { border_render_into_pixmap( - gc, pm[TBP_MAIN], dest_pix, 0, 0, tmp_g.width, - tmp_g.height, (stretch_flags & (1 << TBP_MAIN))); + gc, pm[TBP_MAIN], dest_pix, 0, 0, + SWAP_ARGS(has_vt, fw->title_length, fw->title_thickness), + (stretch_flags & (1 << TBP_MAIN))); } else if (!title) { border_render_into_pixmap( - gc, pm[TBP_LEFT_MAIN], dest_pix, 0, 0, tmp_g.width, - tmp_g.height, (stretch_flags & (1 << TBP_LEFT_MAIN))); + gc, pm[TBP_LEFT_MAIN], dest_pix, 0, 0, + SWAP_ARGS(has_vt, fw->title_length, fw->title_thickness), + (stretch_flags & (1 << TBP_LEFT_MAIN))); } if (title)