The division by two, which the layout performs on window sizes, underflows when windows get microscopically small. This is pretty bad because debug builds will crash, and release builds will fuck up the visuals.
Fixed. Now the Spiral layout's struct has a member denoting the maximum amount of clients - this should make such constellations unlikely enough to not be handled explicitly.
The division by two, which the layout performs on window sizes, underflows when windows get microscopically small. This is pretty bad because debug builds will crash, and release builds will fuck up the visuals.