Commit 4652fd47 authored by Felix Paul Kühne's avatar Felix Paul Kühne

* applied zcot's screensaver patch. Thanks for the fix. -- needs testing

parent 5f814478
...@@ -284,6 +284,15 @@ static void IPCHelperThread( vlc_object_t *p_this ) ...@@ -284,6 +284,15 @@ static void IPCHelperThread( vlc_object_t *p_this )
LRESULT CALLBACK WMCOPYWNDPROC( HWND hwnd, UINT uMsg, WPARAM wParam, LRESULT CALLBACK WMCOPYWNDPROC( HWND hwnd, UINT uMsg, WPARAM wParam,
LPARAM lParam ) 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 ) if( uMsg == WM_COPYDATA )
{ {
COPYDATASTRUCT *pwm_data = (COPYDATASTRUCT*)lParam; COPYDATASTRUCT *pwm_data = (COPYDATASTRUCT*)lParam;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment