sdl - use the wParam and rawinput data for mouse state rather than just the message type, fixes missing mouse up events when alt-tabing out of the window
CR: SamL
This commit is contained in:
parent
ee24414406
commit
f4e5303f46
3 changed files with 69 additions and 40 deletions
|
@ -89,7 +89,7 @@ SetupWindowData(_THIS, SDL_Window * window, HWND hwnd, SDL_bool created)
|
|||
data->hwnd = hwnd;
|
||||
data->hdc = GetDC(hwnd);
|
||||
data->created = created;
|
||||
data->mouse_pressed = SDL_FALSE;
|
||||
data->mouse_button_flags = 0;
|
||||
data->videodata = videodata;
|
||||
|
||||
window->driverdata = data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue