[Xmonad] darcs patch: Tabbed.hs: fixed centerText issues and some binding sh...

Andrea Rossato mailing_lis at istitutocolli.org
Sun Jun 17 06:58:44 EDT 2007


this fixes some of the Tabbed layout issues. It is now possible to set
fonts. I'm going to refactor the module (with David's permision obviously),
so we will take advatage of that.

ciao
andrea


Sun Jun 17 12:42:19 CEST 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 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 21370 bytes
Desc: A darcs patch for your repository!
Url : http://www.haskell.org/pipermail/xmonad/attachments/20070617/51b2e033/attachment.bin


More information about the Xmonad mailing list