jbuchermn / newm

Wayland compositor
MIT License
958 stars 31 forks source link

Don't use floating window as anchor when zooming #164

Closed tewkanz closed 1 year ago

tewkanz commented 1 year ago

If a floating window has focus when zooming, it's possible that it can allow the grid to be zoomed to a size of 0.

Instead, try to tie the zoom to the floating window's parent if one exists. In addition, never let the overlay set a minimum size of 0 regardless of what view is used.

jbuchermn commented 1 year ago

Thanks a lot! :)