[Lazarus] "Defeating" a screen saver

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Tue Sep 25 12:55:58 CEST 2012


Graeme Geldenhuys wrote:
> On 2012-09-25 11:01, Mark Morgan Lloyd wrote:
>> interpret similarly to keyboard and mouse activity in order to prevent a
>> screen saver from kicking in?
> 
> Maybe download the VLC Player source code, and see what they do to 
> disable the screensaver while a video is playing. I know VLC works well 
> in that context. I don't know of other X11 applications that temporarily 
> disable the screensaver while working, but I am sure there must be some.

Thanks, that's a good idea. I've already tried making sure there's a 
stringgrid with an updating field on the screen, I've not yet tried e.g. 
simulating a shiftkey event.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]




More information about the Lazarus mailing list