X programming and screen savers

Sheldon Lee-Wen <[email protected]> Sun, 13 Apr 2003 21:57:54 -0400
Newsgroups gmane.comp.kde.devel.general,gmane.comp.xfree86.newbie
Organization Khardinian Dreams
Message-ID <[email protected]>
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

   I'm writing a command line program that intercepts key presses and binds=
=20
arbitrary commands to them (to facilitate use of multimedia keys.) See=20
http://lineak.sourceforge.net

I need to be able to turn those functions off when a screesaver is running.=
 Is=20
there any way to find out via X events, if a screen saver is running?=20
(Visibility events don't help me b/c the program never opens a window).

Thanks
Sheldon.
=2D --=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
"... all thoughts of selfish desire, ill-will, hatred and
 violence are the result of a lack of wisdom ... "
 - Buddha

=46or an awsome fantasy role playing game checkout:
http://lycadican.sourceforge.net

GPG KeyID=3D04B7F7F8
GPG Fingerprint=3D4B0F 7202 FAFF D146 5F56  9E83 BE7F D7F7 04B7 F7F8
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+mhWivn/X9wS39/gRAp72AJ9z3BrOTWF0F52eanXlJwnGTpUMdgCeK9q/
V7p86tw/L2dF8kz8TQToq8U=3D
=3DJpZK
=2D----END PGP SIGNATURE-----

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<