[Lazarus] "Defeating" a screen saver

Graeme Geldenhuys graeme at geldenhuys.co.uk
Tue Sep 25 19:24:44 CEST 2012


On 2012-09-25 17:57, Mark Morgan Lloyd wrote:
> suggestion of looking at the VLC sources I see they use it which has to
> be a recommendation.

Interesting... I was wondering what they did. :)


> I'll see what I can work in, but particularly allowing that
> xdg-screensaver can take several seconds to run it's more suited to
> being run at the start and end of a program session than "on the fly"

Why not simply execute the command in a background thread. Your main 
thread then continues pulling in data or whatever it does.


Regards,
   - Graeme -





More information about the Lazarus mailing list