]> git.sur5r.net Git - i3/i3/commit
Raise floating windows on `focus [direction]`
authorTony Crisci <tony@dubstepdish.com>
Mon, 28 Jul 2014 02:32:50 +0000 (22:32 -0400)
committerMichael Stapelberg <michael@stapelberg.de>
Fri, 8 Aug 2014 10:19:35 +0000 (12:19 +0200)
commit034c82c0aceaeac0a286d0042c04a6d4953f96b1
tree80c280bfd9b459026df22f7d6214e502faa2d26d
parent1ee6bf10774a31f9f684f0b83cc7a231ac4ffe39
Raise floating windows on `focus [direction]`

Raise a window when cycling focus between floating windows with `focus
[direction]` command so that newly focused windows are rendered on top
of other windows.

This is done by placing the window last in the floating nodes of the
parent and reordering the stack so the relative order is preserved.

fixes #1322
src/tree.c
testcases/t/236-floating-focus-raise.t [new file with mode: 0644]