-
Notifications
You must be signed in to change notification settings - Fork 920
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
Support X11 systems that don't have extension libraries installed #49
Comments
Is there any practical way we could do this without stripping out all the functionality from Winit on those systems? If not, I'm in favor of closing this. |
As of the latest
The only other real concern is the XIM protocol used to handle IME. There's a crate for that now, and barring that it's possible to just disable IME. The question is if the work needed to run |
Looks like when this issue was originally opened, it was about libraries, rather than extensions. Which are somewhat separate issues. With x11rb we should be depending on xlib, xcb, xkbcommon, but not these other shared libraries, right? For extensions, working without xkb and xinput sounds like it may be too much trouble unless there's some compelling use case for it. Working without shm is good for network transparency, and indeed is handled already in softbuffer. BigRequests and randr seem like they shouldn't be all that necessary either, though I don't know if there's any case they wouldn't be supported. Would running without xkb or xinput extensions be relevant to anything other than communicating with ancient X servers? That's not something I'm opposed to the idea of and I've done stranger things (e.g. Smithay/wayland-rs#641) but it may not be relevant to any real use of the library. |
Yeah, I'm not sure that the value proposition of removing these extensions is, especially once we move to As of the time of writing the minimum kernel version is Linux 3.2, released in Jan 2012. #2968 should take care of this for the most part. |
It could also be relevant if you're targeting an X server other than XOrg. An X server that runs on Windows or in an Android app or something might be more limited if it's not based on XOrg. But then I'd still expected xkb to be supported anyway. If there's any case where this would be relevant, I think one would really want to test it and see if anything is an issue before trying to make any extensions optional. |
Original: rust-windowing/glutin#554
The text was updated successfully, but these errors were encountered: