Fix the mouse lock after fullscreen - for real this time. (#1080)
This commit is contained in:
committed by
GitHub
parent
2d0b910aa2
commit
e0ff781a34
@@ -1089,6 +1089,8 @@ ui_init(int nCmdShow)
|
||||
/* Make the window visible on the screen. */
|
||||
ShowWindow(hwnd, nCmdShow);
|
||||
|
||||
GetClipCursor(&oldclip);
|
||||
|
||||
/* Initialize the RawInput (keyboard) module. */
|
||||
memset(&ridev, 0x00, sizeof(ridev));
|
||||
ridev.usUsagePage = 0x01;
|
||||
|
||||
Reference in New Issue
Block a user