Ignore display bounds on resize-to-fit
The "resize to fit" feature (MOD+w or double-click on black borders) computed the "optimal size" using the same function computing the initial window size on start. However, on "resize to fit", only the black borders must be removed (the content size must be preserved), so the display bounds must not be considered.
R
Romain Vimont committed
6261bb0b5a02a9ec0cea81ff3feff047bb94ebbb
Parent: 2f091be