[SDL] SDL tampers with display power settings on the sly

Erik esigra at gmail.com
Sun Feb 24 14:16:58 PST 2008


Vladimir Pouzanov skrev:
> On Sunday 24 February 2008 23:26:10 Erik wrote:
>   
>> but how is the
>> system supposed to restore display settings that a program has manipulated?
>>     
>
> SDL could fork a monitoring process early in SDL_Init, so it would watch for 
> the parent thread and restore any options on its sudden death etc.
>   
What if the monitoring process is killed? No, it has to be handled on 
the system level to be reliable. You say "could", so that is not how it 
is done now? What mechanism does it rely on now? None, it seems since it 
is broken. But why bother at all? What other libraries mess around with 
settings like this? Qt? GTK? No, they don't. Then why does SDL for 
$DEITYs sake?


More information about the SDL mailing list