haiku/headers
Ryan Leavengood 19bce7226a Remove the forced resizing to preferred size when CenterIn is called, and
instead just check if the size limits need to be set. The code that previously
did this when processing the B_LAYOUT_WINDOW message was extracted into a
private method, which is called from both places.

This may be slightly wasteful in some cases (since the size limits may be set
multiple times), but it is definitely needed because without it both of the
current test apps (DiskProbe and Screenshot) did not have properly centered
windows.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-23 03:06:44 +00:00
..
build Added ENOATTR. 2009-08-15 21:20:05 +00:00
compatibility * Moved termcap.h to headers/libs/termcap/, where it belongs. 2009-08-17 21:13:51 +00:00
cpp Since wchar support now works, the wstring typedef should now also be safe. 2009-07-29 14:09:43 +00:00
glibc * merged 32bit-wchar_t branches of buildtools and haiku back into 2009-07-07 10:30:09 +00:00
legacy/network setsockopt and getsockopt use int as others functions 2006-06-23 14:19:11 +00:00
libs updated libpng to 1.2.39 2009-08-21 21:38:50 +00:00
os Remove the forced resizing to preferred size when CenterIn is called, and 2009-08-23 03:06:44 +00:00
posix Defining architecture dependent endian constants for arch mipsel. 2009-08-17 15:12:13 +00:00
private Added and modified kernel stubs and headers for arch mipsel. Correctness not included. 2009-08-23 02:52:09 +00:00
tools * fix gcc4 build of cppunit library by explicitly spelling out std:: in 2009-05-02 19:04:52 +00:00