nanogui@linuxhacker.org

nanogui@linuxhacker.org


Subject: Re: Another API thing
From: Alex Holden
Date: Sun, 16 May 1999 10:38:09 +0100 (GMT)

On Sun, 16 May 1999, Alexander Peuchert wrote:
> - support for a simple screen saver.

I suppose it wouldn't be difficult to update a variable every time a
keyboard or mouse event is generated, check the variable occasionally, and
if the difference gets over a certain amount, send a screensaver event to
a client which has requested to be notified about them. This application
would then just create a window the full size of the screen, do it's
screensaver bit in it, and get rid of it again when it recieves a keyboard
or mouse event.

> - support for a display lock mechanism.

The client could simply ignore all keys and mouse events until you enter
the correct password or whatever, but we would have to provide a way to
tell the server to send _all_ key events to the client, including the ones
which would get sent to the window manager to do things like swapping
between applications.

--------------- Linux- the choice of a GNU generation. --------------
: Alex Holden (M1CJD)- Caver, Programmer, Land Rover nut, Radio Ham :
-------------------- http://www.linuxhacker.org/ --------------------



nanogui@linuxhacker.org