On 30 Aug 2005 17:20:59 +0300, Evgeny Stambulchik wrote: > > Mikhael Goikhman wrote: > > >Fine, I would like to apply this patch. > > Thanks! > > >But please fix borders for windows without title (WindowStyle !Title), > >they are still quite bad with your new patch. > > Right, but this seems to me a genuine fvwm bug elsewhere related to the > X expose events. Try switching focus to/off such a window several times; > at the end, when focus is off, the borders are drawn just fine.
Nope, there is no fvwm bug, it is just that an unitialized variable may reuse the values from the previous calls. When the window has no title, frame_get_titlebar_dimensions returns immediatelly, and title height stays unitialized although you access it. I rewrote the patch, so it does not call this function at all and in the same time works correctly with title-less windows. Regards, Mikhael.