mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
don't unlock on WM_MOUSELEAVE
This commit is contained in:
parent
f74d2fa1ba
commit
88727d2c21
@ -1,5 +1,6 @@
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#include "debug.h"
|
||||
#include "dd.h"
|
||||
#include "hook.h"
|
||||
|
||||
|
@ -477,7 +477,7 @@ LRESULT CALLBACK fake_WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam
|
||||
}
|
||||
case WM_MOUSELEAVE:
|
||||
{
|
||||
mouse_unlock();
|
||||
//mouse_unlock();
|
||||
return 0;
|
||||
}
|
||||
case WM_ACTIVATE:
|
||||
|
Loading…
x
Reference in New Issue
Block a user