A binding to the X11 graphics library
|LTS Haskell 20.16:||1.10.3|
|Stackage Nightly 2023-04-01:||1.10.3|
|Latest on Hackage:||1.10.3|
Module documentation for 1.10.3
Haskell binding to the X11 graphics library
To build this package using Cabal directly from Git, you must run
autoreconf before the usual Cabal build steps (configure/build/install).
autoreconf is included in the GNU autoconf tools. There is no need to run
configure script: the
cabal configure step will do this for you.
If you are building from a source tarball, you can just use the standard Cabal installation stanza:
cabal configure cabal build cabal install
Xinerama support is enabled by default if Xinerama headers are detected. To
disable Xinerama support, add the
--without-xinerama flag to
cabal configure --configure-option="--without-xinerama"
However, if you are building from Git, X11 uses
autoconf, so you need
autoconf installed and run
autoheader before building:
You will need development versions of at least the X11, xrandr, and XScreenSaver libraries installed for the build to succeed; having the development version of the Xinerama library will enable some optional bindings.
Change Log / Release Notes
- Restored compatibility with GHC 7.10 (and possibly even older) (#80)
- Fixed possible high CPU usage of some blocking calls with the threaded RTS (#78)
Fixed type of
Fixed bottom when deserializing XRRNotifyEvent in
Added a few missing event mask fields to
Make sure that X11 search paths determined by autoconf are actually passed through to Cabal. The fix was contributed by Greg Steuck (#53, #69).
Locate the include statement for
HsAllKeysyms.habove the relevant ifdefs to avoid issues during cross compilation. The fix was contributed by Vanessa McHale (#65)
1.8 (February 9, 2017)
Add SelectionClear event to xlib Extra