Skip to content

Conversation

@q3k
Copy link

@q3k q3k commented Sep 29, 2025

This enables using the same client code for both x11 and x11-dl by enabling the generation of library structures for the x11 crate.

The client still has to dispatch between the two variants using eg. a re-export behind cfg attributes - but once dispatched the API is the same.

  • Tested on an x11 machine
  • Compilation warnings were addressed
  • cargo fmt has been run on this branch
  • cargo doc builds successfully
  • Added an entry to CHANGELOG.md if knowledge of this change could be valuable to users
  • Updated documentation to reflect any user-facing changes
  • Created or updated an example program if it would help users understand this functionality

q3k added 3 commits September 29, 2025 18:53
This enables using the same client code for both x11 and x11-dl by
enabling the generation of library structures for the x11 crate.

The client still has to  dispatch between the two variants using eg. a
re-export behind cfg attributes - but once dispatched the API is the
same.
q3k added a commit to q3k/winit that referenced this pull request Sep 29, 2025
This depends on three upstream patches:

- dlib (via xkbcommon-dl): elinorbgr/dlib#25
- xkbcommon-dl: to be filed after above is merged, branch: https://github.com/q3k/xkbcommon-dl/tree/q3k/compile-time-linking
- x11-rs: AltF02/x11-rs#181
@q3k q3k force-pushed the q3k/dl-api-for-non-dl branch from a2e2a01 to 05d5db0 Compare September 30, 2025 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant