You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, we already added new features without using a new format:
Multiple actions per level
Keysyms as strings
Void()
(more ?)
The last 2 are not really breaking, because we do not use them when serializing. As for the first, I would like to make xkbcomp ignore multiple actions per level the same way it ignores multiple keysyms per level at some point, for consistency.
So I wonder if it is really necessary to introduce a new format:
Wayland has currently no mechanism to handle keymap version negotiation.
Since most of the new features matters only to compositors, an option (on by default) to serialize to backward-compatible keymaps may be enough?
Note that kbvm has fine-grained options to serialize for XWayland, but it may not scale if we continue to add features.
I am thinking to introduce the self special value to use more “explicit” mapping, e.g. virtual_modifiers M = self;, rather mapping auto-magically any unmapped modifier. ↩
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The current approach to add new features is to create a new keymap format version v2 in #754.
The idea behind keymap format v2 is to add features that are “really” incompatible with X11, such as:
However, we already added new features without using a new format:
Void()
The last 2 are not really breaking, because we do not use them when serializing. As for the first, I would like to make xkbcomp ignore multiple actions per level the same way it ignores multiple keysyms per level at some point, for consistency.
So I wonder if it is really necessary to introduce a new format:
Note that kbvm has fine-grained options to serialize for XWayland, but it may not scale if we continue to add features.
cc @whot @bluetech @mahkoh
Footnotes
I am thinking to introduce the
self
special value to use more “explicit” mapping, e.g.virtual_modifiers M = self;
, rather mapping auto-magically any unmapped modifier. ↩Beta Was this translation helpful? Give feedback.
All reactions