]> git.sur5r.net Git - i3/i3/commit
Select containers above or near the whole snapped width/height
authorMichael Stapelberg <michael@stapelberg.de>
Wed, 10 Mar 2010 23:15:34 +0000 (00:15 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Wed, 10 Mar 2010 23:15:34 +0000 (00:15 +0100)
commitf7c8e767822b209ab4ae995a128e217768d51a4d
treed63f80463efaf8448fbe631edd2e113af06d2881
parenta70f4353b79f437116e6accae2557f3f729039ce
Select containers above or near the whole snapped width/height

This fixes ticket #100, and is best explained using a little example.
Consider the following layout:

+---+---+
|   | X |
+---+---+
|   X   |
+---+---+

Where X marks a window, so you have an empty container in the upper
left, the container on the bottom is snapped to the right. Before
this commit, nothing would happen when focusing "above". After
this commit, the upper window gets focused.
src/commands.c
testcases/t/06-focus.t