WM_PAINT is the "expose" event, not WM_ACTIVATE

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17127 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2005-12-07 15:53:02 +00:00
parent f4ffe6df54
commit 552a2eab0b
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ static int event_flags;
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: