WacomWebPlugin icon indicating copy to clipboard operation
WacomWebPlugin copied to clipboard

Use XCB instead of Xlib

Open ZaneA opened this issue 13 years ago • 1 comments

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 avatar Jan 12 '13 23:01 ZaneA

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.

ZaneA avatar Jan 13 '13 04:01 ZaneA