When 3.6 was released, I looked around in the code and found a new
pixmap, ":xpm:cross", that I found neat and used in my window
decorations. I also happened to change TitleButtonShadowDepth to 1 and
noticed that :xpm:cross and the old :xpm:resize didn't follow the
value of this variable.

If you look in the code at

  util.c:Create3DResizeImage()

you see that the call to Draw3DBorder() uses a constant 2 instead of
Scr->TitleButtonShadowDepth. In, for instance, Create3DBarImage(),
TitleButtonShadowDepth is used, but not here. Why?

The same goes for the new Create3DCrossImage().

I changed the constants and recompiled and I think the result is much
nicer:

  http://hack.org/~mc/images/mcscreen.png

What do you all think?

Reply via email to