[Xmonad] darcs patch: Tabbed.hs: fixed centerText issues and s... (and 1 more)

David Roundy droundy at darcs.net
Sun Jun 17 11:25:35 EDT 2007


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 <andrea.rossato at unibz.it>
  * 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 <droundy at darcs.net>
  * shrink window names to fit tabs.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 24775 bytes
Desc: A darcs patch for your repository!
Url : http://www.haskell.org/pipermail/xmonad/attachments/20070617/9b1811e3/attachment-0001.bin


More information about the Xmonad mailing list