-
Notifications
You must be signed in to change notification settings - Fork 124
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
Actions/locks xkb extension v2 #485
Draft
wismill
wants to merge
9
commits into
xkbcommon:master
Choose a base branch
from
wismill:actions/locks-xkb-extension-v2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add the following API: - `xkb_keymap_supported_formats` - `xkb_keymap_is_supported_format`
Currently `xkb_keymap_new_from_names` does not allow to specify the keymap format, so provide a new function `xkb_keymap_new_from_names2`.
Allow to choose the exact formats for parsing and serializing.
This is an extension to XKB, to allow to use the combination Control + Shift *alone* to switch layouts, while keeping the use of Control + Shift + some other key (typically for keyboard shortcuts). This is really useful for people coming from other platform, such as Windows.
This is an extensions to XKB. It intends to allow to deactivate CapsLock on press rather than on release, as in other platforms such as Windows.
wismill
force-pushed
the
actions/locks-xkb-extension-v2
branch
from
July 5, 2024 09:47
18cf4d7
to
2a47e13
Compare
1 task
wismill
added
X11 legacy: limitations
Indicates a need to lift legacy X11 limitations
state
Indicates a need for improvements or additions to the xkb_state API
labels
Jul 12, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
state
Indicates a need for improvements or additions to the xkb_state API
X11 legacy: limitations
Indicates a need to lift legacy X11 limitations
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a rework of #446, based on the observations of #484.
XKB_KEYMAP_FORMAT_TEXT_V1_1
lockOnRelease
forLockGroup
. It locks the group on release rather than press as in the protocol. Intended to fix issue for group lock on e.g.shift+alt
. It is the default forXKB_KEYMAP_FORMAT_TEXT_V1_1
, so that it fixes the issue with thexkeyboard-config
files unchanged.unlockOnPress
forLockMods
. It unlocks the modifiers on second press rather than the second release, as in the protocol. Intended to fix issue withCapsLock
for fast typists. It is the default forXKB_KEYMAP_FORMAT_TEXT_V1_1
, so that it fixes the issue with thexkeyboard-config
files unchanged.--format
options to tools, in order to select the keymap format for parsing and serializing.A lot of files are affected, but hopefully it is easier to review per commit.
TODO:
XKB_KEYMAP_FORMAT_TEXT_V1_1
.This requires rebasing once #484 is merged.