mirror of https://github.com/mpv-player/mpv
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:
parent
f4ffe6df54
commit
552a2eab0b
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue