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 #87

Open
nopjmp opened this issue Jun 30, 2014 · 3 comments
Open

Use XCB instead of XLIB #87

nopjmp opened this issue Jun 30, 2014 · 3 comments

Comments

@nopjmp
Copy link

nopjmp commented Jun 30, 2014

XCB is the modern library to use to communicate with the X server. It can combine multi api calls and talks the way X wants you to talk to it. However, this acts kinda like a network connection where you send the API requests then you have to receive the API requests.

This is just a thought. I may work on a port to XCB in the future when I get time to re-read the XCB documentation.

@notsecure
Copy link
Owner

uTox depends on some Xlib functions that are not available using XCB directly, but from what I understand you can use both XCB and Xlib calls. I don't think it is necessary but feel free to replace Xlib functionality with equivalent XCB functionality when it is better.

@GrayHatter
Copy link
Collaborator

@irungentoo do you know of any of the Xlib calls that don't exist in xcb?

@benwaffle
Copy link

There is little to no benefit to switching to xcb. Xlib is not a bottleneck, so it's not worth the effort.

Besides, Xlib is implemented using xcb internally

@GrayHatter GrayHatter removed their assignment May 14, 2016
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

4 participants