diff options
author | Oz Linden <oz@lindenlab.com> | 2011-11-08 15:59:50 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-11-08 15:59:50 -0500 |
commit | 6b516b7a6c4a59ebd3bf9e84075bb4539be072e4 (patch) | |
tree | f910bb425c05a74eb2f7df0eab050de4d648ac20 /indra/llwindow | |
parent | 89b75e75315592da9f4aac2ed851b61f1ac20851 (diff) | |
parent | 32dca99fe59196fa4a92a815b441b4e6e9f747f0 (diff) |
merge changes for vmrg-182
Diffstat (limited to 'indra/llwindow')
-rw-r--r-- | indra/llwindow/llwindowmacosx.cpp | 4 | ||||
-rw-r--r-- | indra/llwindow/llwindowwin32.cpp | 8 |
2 files changed, 10 insertions, 2 deletions
diff --git a/indra/llwindow/llwindowmacosx.cpp b/indra/llwindow/llwindowmacosx.cpp index 4dd11541b9..8057506736 100644 --- a/indra/llwindow/llwindowmacosx.cpp +++ b/indra/llwindow/llwindowmacosx.cpp @@ -2545,8 +2545,8 @@ OSStatus LLWindowMacOSX::eventHandler (EventHandlerCallRef myHandler, EventRef e { // This is where we would constrain move/resize to a particular screen - const S32 MIN_WIDTH = 320; - const S32 MIN_HEIGHT = 240; + const S32 MIN_WIDTH = 1024; + const S32 MIN_HEIGHT = 768; Rect currentBounds; Rect previousBounds; diff --git a/indra/llwindow/llwindowwin32.cpp b/indra/llwindow/llwindowwin32.cpp index db5e55019b..a84bd5fb08 100644 --- a/indra/llwindow/llwindowwin32.cpp +++ b/indra/llwindow/llwindowwin32.cpp @@ -2360,6 +2360,14 @@ LRESULT CALLBACK LLWindowWin32::mainWindowProc(HWND h_wnd, UINT u_msg, WPARAM w_ return 0; } + case WM_GETMINMAXINFO: + { + LPMINMAXINFO min_max = (LPMINMAXINFO)l_param; + min_max->ptMinTrackSize.x = 1024; + min_max->ptMinTrackSize.y = 768; + return 0; + } + case WM_SIZE: { window_imp->mCallbacks->handlePingWatchdog(window_imp, "Main:WM_SIZE"); |