]> git.sur5r.net Git - i3/i3/commit
render_con: fix height rounding in aspect ratio computation
authorClément Bœsch <ubitux@gmail.com>
Sat, 20 Apr 2013 21:47:37 +0000 (23:47 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 23 Apr 2013 05:18:35 +0000 (07:18 +0200)
commitb7da2dbcd87fbb167f2e76c113e7289564375c3f
tree2c16aa75306c9afca20b95261822d8d8e82808c1
parent423f2e264f6bff6a203465dfa3bec87e46caac27
render_con: fix height rounding in aspect ratio computation

With a 484x292 window and proportion of 488x294, new_height is
291.590164 after the loop, causing a rounding issue leading to a window
of 484x291.
src/render.c