On Mon, Sep 09, 2002 at 02:09:17PM -0400, Suzanne Skinner wrote: > > I don't understand what this patch changes. The values returned > > by get_title_geometry should be the same as fw->title_length and > > fw->title_thickness. > > It is indeed strange--it seems that the return values of get_title_geometry > are invalid (reflecting the pre-resize dimensions of the window) on the first > refresh.
The return values are invalid because the function must not be called from borders.c. Instead, the desired geometry is passed in via the structure "titlebar_descr *td": td->layout.title_g The caller of border_draw_multi_pixmap_titlebar() didn't pass that argument, so the function used get_title_geometry() instead. Along with the fix, I added a warning at the beginning of the file. > To reproduce, use the attached fvwm2rc and replace the wood.xpm pixmap with a > tileable pixmap that exists on your system. Go into fvwm and start an xterm. > Resize it horizontally. It may take a couple tries but eventually you should > end up with a gray rectangle in the titlebar. The patch seems to fix this. Bye Dominik ^_^ ^_^ -- Dominik Vogt, [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] -- 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]