vlc | branch: master | Steve Lhomme <[email protected]> | Thu Mar 28 10:18:07 
2019 +0100| [42d725f1fa59fa11eb463dff322249c49c43f15a] | committer: Steve Lhomme

vout:win32: don't pretend we handle WM_PAINT/WM_NCPAINT/WM_ERASEBKGND in main 
HWND

We'll end up calling DefWindowProc() anyway.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=42d725f1fa59fa11eb463dff322249c49c43f15a
---

 modules/video_output/win32/events.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/modules/video_output/win32/events.c 
b/modules/video_output/win32/events.c
index 9144368e85..f9403b0ddf 100644
--- a/modules/video_output/win32/events.c
+++ b/modules/video_output/win32/events.c
@@ -1017,11 +1017,6 @@ static long FAR PASCAL WinVoutEventProc( HWND hwnd, UINT 
message,
         SetAbove( p_event, wParam != 0);
         return 0;
 
-    case WM_PAINT:
-    case WM_NCPAINT:
-    case WM_ERASEBKGND:
-        return DefWindowProc(hwnd, message, wParam, lParam);
-
     case WM_KILLFOCUS:
         return 0;
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to