summaryrefslogtreecommitdiffhomepage
path: root/XUtil.hsc
AgeCommit message (Collapse)Author
2009-08-14fixed "Abnormally high cpu load on X" (11 issue in tracker)Sergei Trofimovich
Ignore-this: f9c79a48b39c163b56393723b7215c72 Steps to reproduce are described in http://code.google.com/p/xmobar/issues/detail?id I've noticed large bunch of XAllocNamedColor calls/sec in xmobar ltrace log. This patch introduces simple hackish color cachig. It's more PoC, than real fix. darcs-hash:20090814194103-3eaf8-c48024c380b4372877430fec60daccd5f77f2024.gz
2009-04-09Wrapped pixel allocation in DynPixel typenzeh
The (Bool, Pixel) pair for controlling the allocation and deallocation of pixels seemed hackish. This version is a compromise between not having to add too much boilerplate and being more expressive. darcs-hash:20090409124658-c6b6b-5758e748a7e1591f22abb83160594323b472da3a.gz
2009-04-09trailing space and variable name for the XFT version of printStringAndrea Rossato
Ignore-this: f39d8322665f04683ec99758d290cf49 darcs-hash:20090409113819-d6583-71f93fdd720f5c83fa833062ec4aaf991b432aec.gz
2009-03-24Fix colour allocation leaknzeh
darcs-hash:20090324001123-c6b6b-8d31153a5794e56f7abd251bcafa8aa2676193c2.gz
2008-04-29style, pointfree and trailing spaces0.9_releaseAndrea Rossato
darcs-hash:20080429125953-d6583-02a6653c15d3166ad264c45ec44082bdae30260e.gz
2008-03-30XUtil: fix UTF-8 check.Dmitry Kurochkin
darcs-hash:20080330200115-903e8-9e68d075abf4de342c3529c93becbae4d2ec700b.gz
2008-03-29Set _NET_WM_STRUT_PARTIAL instead of _NET_WM_STRUT and change ↵Andrea Rossato
mkUnmanageWindow to newWindow darcs-hash:20080329103834-d6583-b2da6a8a6770e13a2d2598debea5e93e48eee713.gz
2008-03-16add XFT support and make UTF-8 support configurableAndrea Rossato
This patch includes many changes: - moved font and printing functions to XUtil.hs and created an abstraction layer to font management; - ported the core, StdinReader and PipeReader to the new font management system. To enable UTF-8 support configure with the "with_utf8" flag (requires utf8-string): runhaskell Setup.lhs configure --flags darcs-hash:20080316121100-d6583-828134da356b706744b56a9d81203129b0e8e484.gz