haskell-pkg-janitors/X11 — pull request #18 by anthonyde (2012-12-17 02:34:42+00:00)
Title: Add bindings for VisualInfo functions

These commits add bindings for the structures and functions documented in `man 3 XVisualInfo`.

Changes:
* A `VisualInfo` type and `Storable` instance is added to `Xlib.Types`.
* A `VisualInfoMask` type and enumeration constants, a `getVisualInfo` function, and a `matchVisualInfo` function are added to `Xlib.Misc`.
* An `emptyVisualInfo` constant is added to simplify the creation of `VisualInfo` instances in user code.
* `visualIDFromVisual` was (unintentionally?) commented out in fa9f12634673912aa0300d5062f99d6f428b50b9 and is re-enabled.