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

Use XCB instead of Xlib #7

Open
ZaneA opened this issue Jan 12, 2013 · 1 comment
Open

Use XCB instead of Xlib #7

ZaneA opened this issue Jan 12, 2013 · 1 comment

Comments

@ZaneA
Copy link
Owner

ZaneA commented Jan 12, 2013

Not required in any way, but it'd be nice to rewrite the code using the XCB library instead of Xlib for future proof-ness (well as much as X11 will allow). When Wayland becomes popular I will need to look into solutions for that too.

@ZaneA
Copy link
Owner Author

ZaneA commented Jan 13, 2013

XCB works quite differently, but once you learn the semantics of it it really is quite nice. The problem however is that the XInput support for XCB is still quite immature it seems. Where I'm stuck currently is getting the device name from xcb_input_device_info_t which in theory is in the padding (as far as I can tell), but is not actually exposed in the API yet. Will come back to this at a later date.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant