#112525 vtwm: TitlePadding does not work properly

Package:
vtwm
Source:
vtwm
Description:
Virtual Tab Window Manager
Submitter:
Christopher Allen
Date:
2005-07-18 03:21:57 UTC
Severity:
normal
#112525#5
Date:
2001-09-16 10:13:25 UTC
From:
To:
At least when in non-3D mode (i.e., when looking like an old-fashioned
TWM), the value of the TitlePadding .vtwm directive is correctly used
to calculate the padding between the left title button(s) and the
title, and between the title and the highlight area, but the highlight
area is not adjusted in width to make sure that there is also
TitlePadding pixels between it and the right title button(s).

As a result (for instance), setting TitlePadding to 0 will cause a
large gap between the hightlight area and the right title buttons, and
setting it to 16 will cause the highlight area to collide with the
right title button.

This does not happen in TWM; consider stealing correct code from there.

#112525#8
Date:
2001-09-17 09:33:35 UTC
From:
To:
Thanks for the detailed report.  I'm not terribly familiar with the
internals of twm and its descendants; do you have any tips on where the
relevant code is?  If you do, I'll probably be able to get the bug fixed
faster.

#112525#11
Date:
2001-09-17 10:09:03 UTC
From:
To:
Regretfully, I've never looked at the sources for either package
before, and what with only having net access at work it wasn't
possible for me to fetch and examine them on the weekend.  I'll try to
have a look at them some evening this week, though.

By the way, there are some other inconsistancies between twm and vtwm
which probably ought not to exist; I may file additional bug reports
for these, or just send you patches if I figure out how to fix them!


Christopher