Hi, it seems to me that line gtk-window-decorator.c:3324 could be written as "top_width = w;" as w will always me the maximum, due to line 3319.
3319 if (w < ICON_SPACE + d->button_width) 3320 return FALSE; 3321 3322 top_width = name_width + d->button_width + ICON_SPACE; 3323 if (w < top_width) 3324 top_width = MAX (ICON_SPACE + d->button_width, w); - Joel
_______________________________________________ compiz mailing list compiz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/compiz