]> git.sur5r.net Git - i3/i3/commit
con_swap: exit when first _con_move_to_con fails
authorOrestis Floros <orestisf1993@gmail.com>
Sun, 22 Apr 2018 00:48:50 +0000 (03:48 +0300)
committerOrestis Floros <orestisf1993@gmail.com>
Sun, 22 Apr 2018 00:48:50 +0000 (03:48 +0300)
commit799e3951a2fbf71ae6d8a584e13295e7495cc03b
tree28053c74b56b78fbd31347d21c778c592d90f202
parent5a0f02b7ff310f1b928ad4f8bc841b2ed51ab166
con_swap: exit when first _con_move_to_con fails

This is enough to fix the crash discussed in #3259 even though the next
commit can fix it independently. This commit is useful because it
generally makes sense to abort the command when the first call to
_con_move_to_con fails.
src/con.c