# HG changeset patch # User reimar # Date 1133970782 0 # Node ID e5f2f50744cd90d8de665f65cc327c0e6f9e8517 # Parent 5a7b066f3366c43e5c26737fce77da24e8577422 WM_PAINT is the "expose" event, not WM_ACTIVATE diff -r 5a7b066f3366 -r e5f2f50744cd libvo/w32_common.c --- a/libvo/w32_common.c Wed Dec 07 15:05:23 2005 +0000 +++ b/libvo/w32_common.c Wed Dec 07 15:53:02 2005 +0000 @@ -25,7 +25,7 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { switch (message) { - case WM_ACTIVATE: + case WM_PAINT: event_flags |= VO_EVENT_EXPOSE; break; case WM_SIZE: