chiark / gitweb /
Just noticed yesterday that initial window sizing is broken on
authorSimon Tatham <anakin@pobox.com>
Sat, 18 Jun 2005 08:52:50 +0000 (08:52 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 18 Jun 2005 08:52:50 +0000 (08:52 +0000)
commit574250995ecf9ce06f532b0972024b14355e6d43
treea71044bfade5ae5fbacbe75f31e758ce61fbdf92
parentb0df75952bb6302e79fa1fbf07f2495d8e283a9a
Just noticed yesterday that initial window sizing is broken on
Windows for puzzles with status bars, because the initial call to
check_window_size is given the window size _without_ the status bar
and assumes that that has to be big enough for the whole thing
_with_ the status bar, so it shrinks everything by a little bit. So
now we resize the window to take account of the status bar before
calling check_window_size(), and the problem seems to have gone away.

[originally from svn r5975]
windows.c