mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Fix no cursor on window frame and title bar.
Remove mouse capture and handle visibility via WM_SETCURSOR messages
instead of window activation events. See
aed7e97d0d
for original implementation
This commit is contained in:
@ -2247,7 +2247,6 @@ bool plDXPipeline::IResetDevice()
|
||||
{
|
||||
IClearShadowSlaves();
|
||||
|
||||
ReleaseCapture();
|
||||
Sleep(100);
|
||||
HRESULT coopLev = fD3DDevice->TestCooperativeLevel();
|
||||
if( coopLev == D3DERR_DEVICELOST )
|
||||
@ -2295,8 +2294,6 @@ bool plDXPipeline::IResetDevice()
|
||||
/// all device-specific stuff needs to be recreated
|
||||
plDeviceRecreateMsg* clean = new plDeviceRecreateMsg();
|
||||
plgDispatch::MsgSend(clean);
|
||||
|
||||
SetCapture(fSettings.fHWnd);
|
||||
}
|
||||
fDevWasLost = true;
|
||||
fDeviceLost = false;
|
||||
|
Reference in New Issue
Block a user