diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/Apps/plClient/plClient.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/Apps/plClient/plClient.cpp index 7307e124..af2f8639 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/Apps/plClient/plClient.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/Apps/plClient/plClient.cpp @@ -1302,6 +1302,8 @@ void plClient::IIncProgress (hsScalar byHowMuch, const char * text) //============================================================================ void plClient::IStartProgress( const char *title, hsScalar len ) { + plInputManager::SetRecenterMouse(false); + if (fProgressBar) { fProgressBar->SetLength(fProgressBar->GetMax()+len); @@ -2207,7 +2209,6 @@ void plClient::ResetDisplayDevice(int Width, int Height, int ColorDepth, hsBool else { SetWindowPos( fWindowHndl, HWND_TOP, 0, 0, Width, Height, flags ); - ::ClipCursor(nil); } WindowActivate(true); diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plInputCore/plInputDevice.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plInputCore/plInputDevice.cpp index 389afd5d..0b6ab68c 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plInputCore/plInputDevice.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plInputCore/plInputDevice.cpp @@ -946,7 +946,6 @@ void plMouseDevice::HandleWindowActivate(bool bActive, HWND hWnd) // rect.bottom /= plInputManager::GetInstance()->GetMouseScale(); ::MapWindowPoints( hWnd, NULL, (POINT *)&rect, 2 ); - ::ClipCursor(&rect); ::ShowCursor( FALSE ); SetCapture(hWnd); @@ -954,7 +953,6 @@ void plMouseDevice::HandleWindowActivate(bool bActive, HWND hWnd) else { ReleaseCapture(); - ::ClipCursor(nil); ::ShowCursor( TRUE ); } } diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plInputCore/plInputManager.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plInputCore/plInputManager.cpp index a7c1bff5..69c37db4 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plInputCore/plInputManager.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plInputCore/plInputManager.cpp @@ -563,7 +563,6 @@ void plDInputMgr::AddDevice(IDirectInputDevice8* device) void plDInputMgr::ConfigureDevice() { - ::ClipCursor(nil); ::ShowCursor( TRUE ); ReleaseCapture(); @@ -587,10 +586,6 @@ void plDInputMgr::ConfigureDevice() for (int i = 0; i < fDI->fSticks.Count(); i++) fDI->fSticks[i]->fDevice->SetActionMap( fDI->fActionFormat, NULL, DIDSAM_FORCESAVE ); - RECT rect; - ::GetClientRect(fhWnd,&rect); - ::ClientToScreen(fhWnd,(LPPOINT)&rect); - ::ClipCursor(&rect); ::ShowCursor( FALSE ); SetCapture(fhWnd);