]> git.sur5r.net Git - i3/i3/commit
Rewrite con_swap to work only with queue operations 2954/head
authorOrestis Floros <orestisf1993@gmail.com>
Wed, 6 Sep 2017 02:44:09 +0000 (05:44 +0300)
committerOrestis Floros <orestisf1993@gmail.com>
Wed, 10 Oct 2018 14:09:26 +0000 (17:09 +0300)
commit8e1687a317bdde3217dba895bc8f05975690896c
tree6abef3a17653caa5c03b26ebbf7faed84e64104e
parentdfe89cc4f1706a6fae0ae3816787d0fb22dadd7d
Rewrite con_swap to work only with queue operations

Benefits are that we don't open a fake container and don't call many
complicated functions that can lead to redraws (x_push_changes calls) as
discussed in #2954.

Fixes #2810:
Windows exchange floating mode & window rects.
Swap will still not work with CT_FLOATING_CONs but this doesn't make
much sense.

Fixes #3280:
The behaviour is not very user friendly but swap behaves exactly as it
should. The rest is a tree_flatten issue. Attached pictures in #2954.
docs/userguide
src/con.c
testcases/t/291-swap.t
testcases/t/294-focus-order.t