aboutsummaryrefslogtreecommitdiffstats
path: root/RotView.hs
diff options
context:
space:
mode:
authorAndrea Rossato <andrea.rossato@unibz.it>2007-06-17 12:42:19 +0200
committerAndrea Rossato <andrea.rossato@unibz.it>2007-06-17 12:42:19 +0200
commitec3e73600701273ef5f377dcd7cf4171aceb565e (patch)
tree2ba1b0e4b16cea7c52b39225e13e882899c79055 /RotView.hs
parenta2a38d2897f8324d024d1f73e277133edfa00b91 (diff)
downloadXMonadContrib-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 'RotView.hs')
0 files changed, 0 insertions, 0 deletions