[comp.windows.x] twm bugs

emb@isolde.cray.com (Eric Berge) (01/19/89)

Under certain circumstances, you cannot change menu, icon, or resize font
with twm.  This is due to the function CreateGCs() in twm which only
changes the graphics contexts for these objects the first time that it
is called.  Unfortunately CreateGCs() may be called if you use either the
DefaultFunction or WindowFunction variables in your ".twmrc".  A quick
way to fix this is to place these variables after the definitions of
MenuFont, IconFont, and ResizeFont until a real fix appears.

There is also an additional bug where if you have BorderWidth set to a
non-zero value in you ".twmrc" and you zoom and unzoom, the window will
be displaced to the right by the width of the border.  So somewhere in
the code this term is not being taken into account.


Eric Berge
Cray Research, Inc.
Mendota Heights, Minnesota
emb@cray.com