mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
winemac.drv: Release mouse capture when destroying window specified in SetCapture call.
This commit is contained in:
parent
6ab6c23707
commit
a90592c8d2
@ -1274,6 +1274,8 @@ void CDECL macdrv_DestroyWindow(HWND hwnd)
|
||||
|
||||
if (!(data = get_win_data(hwnd))) return;
|
||||
|
||||
if (hwnd == GetCapture()) macdrv_SetCapture(0, 0);
|
||||
|
||||
if (data->gl_view) macdrv_dispose_view(data->gl_view);
|
||||
destroy_cocoa_window(data);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user