Skip to content
Commit 6975cf42 authored by Jonas Ådahl's avatar Jonas Ådahl Committed by Marius Vlad
Browse files

terminal: Avoid too large character grid when resized



When resizing the terminal, the row/columns would end up potentially too tall
and/or wide, meaning the widget would grow each time the window was configured
with a size.

Fix this by making sure the calculated rows and columns don't loose too much
precision, and if they do, shrink instead of grow, as that is expected by the
xdg_toplevel configure event.

Signed-off-by: default avatarJonas Ådahl <jadahl@gmail.com>
parent d4fe0a42
Loading
Loading
Loading
Pipeline #1187149 passed with stages
in 4 minutes and 2 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment