mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
Windows mouse ungrab must release the mouse instead of confine it to the current desktop (#16488)
* Windows mouse ungrab should release the cursor, instead of confining it to the current screen. * conform to style
This commit is contained in:
parent
28189a04a4
commit
d55f95f056
@ -1958,11 +1958,11 @@ void win32_clip_window(bool state)
|
|||||||
free(info);
|
free(info);
|
||||||
}
|
}
|
||||||
info = NULL;
|
info = NULL;
|
||||||
|
|
||||||
|
ClipCursor(&clip_rect);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
GetWindowRect(GetDesktopWindow(), &clip_rect);
|
ClipCursor(NULL);
|
||||||
|
|
||||||
ClipCursor(&clip_rect);
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user