Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X11 XReadBitmap API support. #19

Merged
merged 2 commits into from Feb 24, 2013
Merged

X11 XReadBitmap API support. #19

merged 2 commits into from Feb 24, 2013

Conversation

victoredwardocallaghan
Copy link
Contributor

G'day,

This patch adds support for the libX11 XReadBitmapFile API. This resolve a downstream support use case issue for XmoBar github issue #87.

Background found here:
https://github.com/jaor/xmobar/pull/87

May we please merge this here upstream for other possible uses, perhaps in XMonad for example?

Kind Regards,
Edward O'Callaghan.

…pport use case issue for XmoBar github issue #87.
@dmwit
Copy link
Contributor

dmwit commented Jan 28, 2013

Could you propose a patch that does something reasonable with the return value (that indicates success or failure)? Also, the type of the foreign import looks like it should have "Ptr Dimension" in the width_return and height_return slots, which should let you avoid doing a sketchy-looking fromIntegral.

Signed-off-by: Edward O'Callaghan <victoredwardocallaghan@gmail.com>
@victoredwardocallaghan
Copy link
Contributor Author

+dmwit
Hi, in regards to the foeign import types, is this what you mean?
https://gist.github.com/4706154

Cheers,
Edward.

@victoredwardocallaghan
Copy link
Contributor Author

Hello?

dmwit added a commit that referenced this pull request Feb 24, 2013
@dmwit dmwit merged commit 1332634 into xmonad:master Feb 24, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants