]> git.lizzy.rs Git - bspwm.git/commit
The `birth_rotation` attribute replaces `birth_mode`
authorBastien Dejean <nihilhill@gmail.com>
Wed, 8 May 2013 12:10:53 +0000 (14:10 +0200)
committerBastien Dejean <nihilhill@gmail.com>
Wed, 8 May 2013 12:10:53 +0000 (14:10 +0200)
commit82bd5644cb4ec5e47cdf05bac6b7f9283b35c7b5
tree03397752805403e541eabc29282ee10d2f0edf67
parent365c17b42947ed60d6f6667a554ffb2cefda83de
The `birth_rotation` attribute replaces `birth_mode`

The `birth_mode` was not sufficient for properly unrotate the brother of
a removed node. The `birth_rotation` stores the rotation applied to the
brother subtree when the node was inserted.

This should help to enforce that (L + n) - n = L in every possible
cases. Which means that adding a node and removing it should leave the
layout unchanged.
README.md
bspwm.1
messages.c
tree.c
tree.h
types.c
types.h
window.c