Skip to content

Add keymap compile options API #730

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

wismill
Copy link
Member

@wismill wismill commented Apr 24, 2025

I am splitting the keymap compile options API from #516 so that we can use the new API independently in #516 and #523, and maybe further MRs.

This new API is aimed at servers, as the planned options modify handling of the keyboard state.

@wismill wismill added the compile-keymap Indicates a need for improvements or additions to keymap compilation label Apr 24, 2025
@wismill wismill added this to the 1.10.0 milestone Apr 24, 2025
wismill added 3 commits April 24, 2025 17:50
Added a new keymap compile options API:
- `xkb_keymap_compile_options_new`
- `xkb_keymap_compile_options_free`
- `xkb_keymap_new_from_names2`
- `xkb_keymap_new_from_file2`
- `xkb_keymap_new_from_buffer2`

This interface allows to configure keymap options that cannot be
passed as flags. This is aimed at *server* applications, since the
only planned options affect the handling of the keyboard state.

Note: `xkb_keymap_new_from_string2` was not added due to its low
added value compared to using `xkb_keymap_new_from_buffer2` with
`strlen`.
@wismill wismill force-pushed the keymap/options-api branch from 21a3827 to 14c2371 Compare April 24, 2025 15:51
@wismill wismill mentioned this pull request May 2, 2025
4 tasks
@wismill wismill modified the milestones: 1.10.0, 1.11.0 May 12, 2025
@wismill wismill modified the milestones: 1.11.0, 1.12.0 Jun 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compile-keymap Indicates a need for improvements or additions to keymap compilation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant