use WM_ACTIVATEAPP for alt+tab logic
This commit is contained in:
parent
910bade5ba
commit
21555e06f7
2 changed files with 20 additions and 17 deletions
|
@ -59,7 +59,6 @@ void mouse_lock()
|
|||
|
||||
if (g_ddraw->handlemouse)
|
||||
{
|
||||
SetCapture(g_ddraw->hwnd);
|
||||
real_ClipCursor(&rc);
|
||||
while (real_ShowCursor(FALSE) >= 0);
|
||||
}
|
||||
|
@ -127,7 +126,6 @@ void mouse_unlock()
|
|||
}
|
||||
|
||||
real_ClipCursor(NULL);
|
||||
ReleaseCapture();
|
||||
|
||||
real_SetCursorPos(
|
||||
(int)(rc.left + g_ddraw->render.viewport.x + (g_ddraw->cursor.x * g_ddraw->render.scale_w)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue