Commit a90592c8 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

winemac.drv: Release mouse capture when destroying window specified in SetCapture call.

parent 6ab6c237
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment