swayfx/sway/input
Brian Ashworth 6afb392823 bindings: allow unlocked and locked bindings
This changes the behavior of bindings to make the `BINDING_LOCKED` flag
conflicting, which will allow for both unlocked and locked bindings.

If there are two matching bindings and one has `--locked` and the other
does not, the one with `--locked` will be preferred when locked and
the one without will be preferred when unlocked.

If there are two matching bindings and one has both a matching
`--input-device=<input>` and `--locked` and the other has neither, the
former will be preferred for both unlocked and locked.

This also refactors `get_active_binding` in `sway/input/keyboard.c`
to make it easier to read.
2019-05-30 10:47:42 +03:00
..
cursor.c Introduce default seatop 2019-03-17 10:02:04 -06:00
input-manager.c Implement input type configs (#3784) 2019-04-14 19:31:36 -04:00
keyboard.c bindings: allow unlocked and locked bindings 2019-05-30 10:47:42 +03:00
seat.c Fix scratchpad fullscreen behavior and crash 2019-04-13 08:48:37 -06:00
seatop_default.c Fix a silly mistake 2019-04-28 21:07:47 +03:00
seatop_down.c Introduce default seatop 2019-03-17 10:02:04 -06:00
seatop_move_floating.c Clear pointer focus during move and resize seatops 2019-04-28 21:07:47 +03:00
seatop_move_tiling.c Clear pointer focus during move and resize seatops 2019-04-28 21:07:47 +03:00
seatop_resize_floating.c Clear pointer focus during move and resize seatops 2019-04-28 21:07:47 +03:00
seatop_resize_tiling.c Clear pointer focus during move and resize seatops 2019-04-28 21:07:47 +03:00
switch.c bindings: allow unlocked and locked bindings 2019-05-30 10:47:42 +03:00