diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2020-02-12 19:46:51 -0500 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-02-13 10:26:14 +0100 |
commit | 7999845357bacac9c7599c899c0d6e88dac0791e (patch) | |
tree | 74d28f8644b2fc71b459c6d6e9656f899ef2dfc0 /sway/input | |
parent | 47763c99f931daeb19fb6aba84bd60a22e9bd985 (diff) |
cmd_swap: fix test_mark condition
The condition in test_mark was checking the negation of list_seq_find.
This works fine for the first mark, but fails for every other mark. This
fixes the condition to check for anything other than -1, which is the
value returned from list_seq_find for index not found.
Diffstat (limited to 'sway/input')
0 files changed, 0 insertions, 0 deletions