mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-05-02 06:46:32 -04:00
config: wip: add support for modifiers in mouse bindings
Mouse bindings can now include modifiers. They are specified in pretty much the same way as in keyboard bindings: Control+BTN_LEFT
This commit is contained in:
parent
823a7c0318
commit
544c1b1976
6 changed files with 207 additions and 31 deletions
|
|
@ -125,6 +125,8 @@ seat_destroy(struct seat *seat)
|
|||
tll_free(it->item.bind.key_codes);
|
||||
tll_free(seat->kbd.bindings.search);
|
||||
|
||||
tll_free(seat->mouse.bindings);
|
||||
|
||||
if (seat->kbd.xkb_compose_state != NULL)
|
||||
xkb_compose_state_unref(seat->kbd.xkb_compose_state);
|
||||
if (seat->kbd.xkb_compose_table != NULL)
|
||||
|
|
@ -762,9 +764,6 @@ handle_global(void *data, struct wl_registry *registry,
|
|||
struct wl_seat *wl_seat = wl_registry_bind(
|
||||
wayl->registry, name, &wl_seat_interface, required);
|
||||
|
||||
/* Clipboard */
|
||||
/* Primary selection */
|
||||
|
||||
tll_push_back(wayl->seats, ((struct seat){
|
||||
.wayl = wayl,
|
||||
.wl_seat = wl_seat,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue