diff options
author | Andrea Rossato <andrea.rossato@unibz.it> | 2007-06-17 12:42:19 +0200 |
---|---|---|
committer | Andrea Rossato <andrea.rossato@unibz.it> | 2007-06-17 12:42:19 +0200 |
commit | ec3e73600701273ef5f377dcd7cf4171aceb565e (patch) | |
tree | 2ba1b0e4b16cea7c52b39225e13e882899c79055 /TwoPane.hs | |
parent | a2a38d2897f8324d024d1f73e277133edfa00b91 (diff) | |
download | XMonadContrib-ec3e73600701273ef5f377dcd7cf4171aceb565e.tar.gz XMonadContrib-ec3e73600701273ef5f377dcd7cf4171aceb565e.tar.xz XMonadContrib-ec3e73600701273ef5f377dcd7cf4171aceb565e.zip |
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
darcs-hash:20070617104219-32816-1dec65118dfaca35b41f9eb2ebcaa5b02e77e0c0.gz
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions