Skip to content
Snippets Groups Projects
Commit 985413c0 authored by Steve Lhomme's avatar Steve Lhomme
Browse files

vout:win32: fix window messages not handled by the vout HWND

parent 73f547c6
No related branches found
No related tags found
No related merge requests found
......@@ -245,8 +245,6 @@ static long FAR PASCAL VideoEventProc( HWND hwnd, UINT message,
return DefWindowProc(hwnd, message, wParam, lParam);
event_thread_t *p_event = (event_thread_t *)p_user_data;
/* Let windows handle the message */
return DefWindowProc(hwnd, message, wParam, lParam);
switch( message )
{
/* the user wants to close the window */
......@@ -277,6 +275,7 @@ static long FAR PASCAL VideoEventProc( HWND hwnd, UINT message,
ValidateRect(hwnd, NULL);
// fall through
default:
/* Let windows handle the message */
return DefWindowProc(hwnd, message, wParam, lParam);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment