From 4652fd476c406ac9123e73c0feaf8687769174dd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Felix=20Paul=20K=C3=BChne?= Date: Mon, 10 Oct 2005 13:13:28 +0000 Subject: [PATCH] * applied zcot's screensaver patch. Thanks for the fix. -- needs testing --- src/misc/win32_specific.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/misc/win32_specific.c b/src/misc/win32_specific.c index 6c2ff0b5cf..821b10bb0b 100644 --- a/src/misc/win32_specific.c +++ b/src/misc/win32_specific.c @@ -284,6 +284,15 @@ static void IPCHelperThread( vlc_object_t *p_this ) LRESULT CALLBACK WMCOPYWNDPROC( HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam ) { + /* zcot's screensaver patch */ + if( uMsg == WM_SYSCOMMAND ) + { + if( ( wParam & 0xFFF0 ) == SC_SCREENSAVE ) + return 0; + return DefWindowProc( hwnd, uMsg, wParam, lParam ); + } + /* End zcot's screensaver patch */ + if( uMsg == WM_COPYDATA ) { COPYDATASTRUCT *pwm_data = (COPYDATASTRUCT*)lParam; -- 2.39.5