Hi all,
Here's Andrea's patch together with one of mine to shrink our window titles
so that they can fit in the tabs. I made the shrinker extensible, so users
can configure it to eliminate whatever seems irrelevant in their window
names.
David
Sun Jun 17 03:42:19 PDT 2007 Andrea Rossato
* Tabbed.hs: fixed centerText issues and some binding shadowing warnings
This patch fixes the centerText issue due to the inappropriate use of
textExtends and textWidth. Those functions need a FontStruct id to
operate, and this cannot be retrieved with queryFont (see comments in
Graphics.X11.Xlib.Font).
So we now get the FontStruct with loadQueryFont, we set the default
Xorg fonts and we calculate things for (vertical and horizontal)
centering.
It also removes some binding shadows compiler warnings
Sun Jun 17 08:23:40 PDT 2007 David Roundy
* shrink window names to fit tabs.