user32: Handle SC_SCREENSAVE in DefWindowProc. (try 2)

Alexandre Julliard julliard at winehq.org
Mon Jun 13 08:43:42 CDT 2011


"Vincent Povirk" <vincent at codeweavers.com> writes:

> @@ -1606,6 +1607,12 @@ LRESULT NC_HandleSysCommand( HWND hwnd, WPARAM wParam, LPARAM lParam )
>                  FreeLibrary( hmodule );
>              }
>          }
> +        else
> +        {
> +            const char *argv[3] = { "xdg-screensaver", "activate", NULL };
> +            spawnvp( _P_NOWAIT, argv[0], argv );
> +        }

This should be consolidated with the support in explorer, and probably
moved to the graphics driver.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list