Improve aspect size handling
commit9977802d7eaf3c912c9290bf13ce80fe164660a9
authorUli Schlachter <psychon@znc.in>
Thu, 22 Jul 2010 08:32:57 +0000 (22 10:32 +0200)
committerUli Schlachter <psychon@znc.in>
Thu, 22 Jul 2010 08:34:41 +0000 (22 10:34 +0200)
tree218051880371034d1c528719f2a8a0f30adb7531
parent227b71921d7a642b328e35faec797248be665d94
Improve aspect size handling

The window is now no longer enlarged to make it fit into its aspect ratio, but
only ever made lower. This was verified with a small test app that sets a min
aspect ratio of 0.5 and max aspect ratio of 2.

Signed-off-by: Uli Schlachter <psychon@znc.in>
client.c