You should implement using one of the following ways, in decreasing preference:
1. Fix using Qt in a cross platform manner.
2. Fix using a common library (e.g common between in X and wayland etc).
3. Fix using X functionality, but wrap it in a class/method. It should be easy to disable/remove this part in the future. And you should be using XCB not Xlib.
23 Haziran 2013 Pazar 16:55:06 UTC tarihinde Nikita Mikhaylov yazdı: