aboutsummaryrefslogtreecommitdiffstats
path: root/sway/config/output.c
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2020-02-12 19:46:51 -0500
committerLibravatar Simon Ser <contact@emersion.fr>2020-02-13 10:26:14 +0100
commit7999845357bacac9c7599c899c0d6e88dac0791e (patch)
tree74d28f8644b2fc71b459c6d6e9656f899ef2dfc0 /sway/config/output.c
parentApply the output scale filter after the output commit (diff)
downloadsway-7999845357bacac9c7599c899c0d6e88dac0791e.tar.gz
sway-7999845357bacac9c7599c899c0d6e88dac0791e.tar.zst
sway-7999845357bacac9c7599c899c0d6e88dac0791e.zip
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/config/output.c')
0 files changed, 0 insertions, 0 deletions