mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
wayland: set BIND_ACTION_KEY_COUNT correctly
This fixes an issue where ‘pipe-selected’ were not recognized as a valid key action. Closes #125
This commit is contained in:
parent
e81d23befc
commit
eb45cb7b60
1 changed files with 2 additions and 3 deletions
|
|
@ -43,8 +43,6 @@ enum bind_action_normal {
|
|||
BIND_ACTION_PIPE_VIEW,
|
||||
BIND_ACTION_PIPE_SELECTED,
|
||||
|
||||
BIND_ACTION_KEY_COUNT = BIND_ACTION_PIPE_SELECTED,
|
||||
|
||||
/* Mouse specific actions - i.e. they require a mouse coordinate */
|
||||
BIND_ACTION_SELECT_BEGIN,
|
||||
BIND_ACTION_SELECT_BEGIN_BLOCK,
|
||||
|
|
@ -53,7 +51,8 @@ enum bind_action_normal {
|
|||
BIND_ACTION_SELECT_WORD_WS,
|
||||
BIND_ACTION_SELECT_ROW,
|
||||
|
||||
BIND_ACTION_COUNT,
|
||||
BIND_ACTION_KEY_COUNT = BIND_ACTION_PIPE_SELECTED + 1,
|
||||
BIND_ACTION_COUNT = BIND_ACTION_SELECT_ROW + 1,
|
||||
};
|
||||
|
||||
struct key_binding_normal {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue