sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 9977b019289adbee8e5704f7b997609ff1b0c896
parent 44a4905466599155fb7203a585dfca1ce1720b33
Author: D.B <thejan.2009@gmail.com>
Date:   Sun, 31 Jul 2016 10:22:18 +0200

Update container geometry on layout switch

Deeply nested containers which had their layouts changed didn't update
their actual_geometry, this messed up their child containers. Those got
width and height of 0, which was then decreased for stacked/tabbed
containers by title height. Underflow ensued, these containers suddenly
had height 4294967273. In short, not updating actual_geometry didn't
play nicely with nested containers.

Diffstat:
Msway/commands.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/sway/commands.c b/sway/commands.c @@ -1998,6 +1998,7 @@ static struct cmd_results *cmd_layout(int argc, char **argv) { } update_layout_geometry(parent, old_layout); + update_geometry(parent); arrange_windows(parent, parent->width, parent->height);