diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2019-07-26 12:02:18 -0400 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2019-07-26 12:02:18 -0400 |
| commit | 0b027ed820ff50aa83d514fa1ff1c211f2dbe5f0 (patch) | |
| tree | bce2d4bfba93e6889c1aa57085297e4a997af2d8 /include | |
| parent | 46011e693b18d8c3edd76a3825ffb43f3c04d6b9 (diff) | |
bindsym/code: add group support
This adds support for specifying a binding for a specific group. Any
binding without a group listed will be available in all groups. The
priority for matching bindings is as follows: input device, group, and
locked state.
For full compatibility with i3, this also adds Mode_switch as an alias
for Group2. Since i3 only supports this for backwards compatibility
with older versions of i3, it is implemented here, but not documented.
Diffstat (limited to 'include')
| -rw-r--r-- | include/sway/config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sway/config.h b/include/sway/config.h index f1426453..c65d9353 100644 --- a/include/sway/config.h +++ b/include/sway/config.h @@ -53,6 +53,7 @@ struct sway_binding { list_t *keys; // sorted in ascending order list_t *syms; // sorted in ascending order; NULL if BINDING_CODE is not set uint32_t modifiers; + xkb_layout_index_t group; char *command; }; |
