HarveyHunt / howm

A lightweight, X11 tiling window manager that behaves like vim
GNU General Public License v2.0
649 stars 24 forks source link

Toggling a window to floating causes the layout to change unexpectedly #26

Closed HarveyHunt closed 9 years ago

HarveyHunt commented 9 years ago

When opening 3 or more clients in any layout other than zoom, toggling the second window to floating will cause the layout to change to zoom.

HarveyHunt commented 9 years ago

I have found the source of this bug. get_non_tff_count incorrectly breaks as soon as it reaches a tff window. This means that any clients after the first tff client are ignored- this is quite a big problem.

Removing the break statement causes quite a lot of breakage, with no clients (aside from the last one) correctly entering and exiting floating mode.