Comment 1 for bug 434476

Revision history for this message
In , Sylvain Pasche (sylvain-pasche) wrote :

The right way to do this on Windows would be to use SetThreadExecutionState(ES_DISPLAY_REQUIRED) (http://msdn.microsoft.com/en-us/library/aa373208%28VS.85%29.aspx). No need to touch the registry or send fake events regularly.