sway/include/sway
Furkan Sahin 4d0d553338 input/keyboard: extend bindsym --to-code to work with duplicate matches
This modifies `get_active_binding` to treat bindsym --to-codes
separately: per each keysym `i` in `binding->keys`, look through the list of
matching keycodes in `binding->translations[i]`.

Another solution is to take the cartesian product of all syms and make a
binding per each product. This makes retranslation more difficult though
because the dups from the old layout have to be cleared out before
translating to the new `xkb_layout`. Whether by retaining a parent
binding, searching through all bindings for matching `binding->command`,
or some other ref count structure, that would introduce more complexity
than modifying get_active binding to account for dups. Notice this
requires no changes to the existing retranslation logic.
2024-11-07 16:55:29 -05:00
..
desktop xdg-activation: distinguish activation and urgency requests 2024-02-17 00:54:30 -07:00
input text_input: Properly handle map/unmap events 2024-09-20 19:40:18 +02:00
tree (desktop|tree)/output: Do not use layout listener to arrange 2024-09-04 13:49:35 -04:00
commands.h Add support for tearing-control-v1 2024-08-05 02:13:49 +02:00
config.h input/keyboard: extend bindsym --to-code to work with duplicate matches 2024-11-07 16:55:29 -05:00
criteria.h Drop server.h include from input/input-manager.h 2024-05-27 09:28:43 -04:00
decoration.h Handle views created after decoration mode is sent for xdg-shell 2018-08-06 15:20:30 +01:00
ipc-json.h sway: add non-desktop outputs to json when running swaymsg -t get_outputs 2022-09-19 07:26:45 -04:00
ipc-server.h ipc: add support for output event 2023-02-01 11:32:57 -05:00
layers.h layer_shell: Handle popups through popup descriptor 2024-02-12 19:19:22 +03:00
lock.h ext-session-lock: Do not use commit listener to arrange 2024-09-20 00:26:36 -04:00
output.h (desktop|tree)/output: Do not use layout listener to arrange 2024-09-04 13:49:35 -04:00
scene_descriptor.h scene_graph: Port xwayland 2024-01-18 18:36:54 +03:00
server.h (desktop|tree)/output: Do not use layout listener to arrange 2024-09-04 13:49:35 -04:00
sway_text_node.h Introduce sway_text_node 2024-01-18 18:36:54 +03:00
swaynag.h swaynag: add printf attribute to swaynag_log() 2023-04-14 18:34:54 +02:00
xdg_decoration.h xdg-shell: chase events update 2023-11-23 19:41:57 +01:00
xwayland.h Parse missing i3 window types 2018-10-21 15:59:04 +02:00