]> git.mdlowis.com Git - proto/labwc.git/commit
keybinds: add optional layoutDependent argument
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Mon, 11 Sep 2023 13:15:37 +0000 (15:15 +0200)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Mon, 11 Sep 2023 13:41:19 +0000 (15:41 +0200)
commitc1c624daf0511f52727613ac890c959a66d1c58f
tree1ed723783fd4047b5b2469820f7c143fe99ac2c4
parent6b80751010af2f6b841fe78e1a12349d8c15173f
keybinds: add optional layoutDependent argument

This allows to define keybinds as layout dependent. E.g. keybinds
only trigger if the configured key exists in the currently active
keyboard layout. The keybind will also only trigger on the physical
key that is mapped to the configured key in the active layout.

By default the new argument is false which means all keybinds by
default are layout agnostic. This optional argument can be used
to restore the earlier default behavior of having keys layout
dependent.
docs/labwc-config.5.scd
include/config/keybind.h
src/config/keybind.c
src/config/rcxml.c