mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-28 02:30:35 +00:00
(WINRAW) Prevent outside window mouse clicks when grabbed
This commit is contained in:
parent
80147e3cfe
commit
94446ab488
@ -225,7 +225,7 @@ static BOOL winraw_set_mouse_input(HWND window, bool grab)
|
||||
RAWINPUTDEVICE rid;
|
||||
|
||||
if (window)
|
||||
rid.dwFlags = grab ? RIDEV_CAPTUREMOUSE : 0;
|
||||
rid.dwFlags = grab ? RIDEV_CAPTUREMOUSE | RIDEV_NOLEGACY : 0;
|
||||
else
|
||||
rid.dwFlags = RIDEV_REMOVE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user