haskell-pkg-janitors/X11 — pull request #2 by dylex (2012-01-30 00:48:33+00:00)
Title: fix length of client message arguments on 64-bit

This is a proposed bug fix for a problem I ran into using xmonad client messages to send remote commands on 64LP architectures (i.e., amd64), wherein the C X11 library and Haskell's disagree about the size of client message arguments.

I sent this for the darcs repo and on haskell-cafe over a year ago but nothing every happened.

The XClientMessageEvent.data.l field is actually a long, not an int, so it must
be interpreted as such, even though format is set to 32 in this case.
Ostensibly this is an Xlib bug, but it is unlikely to be fixed there.