Hello,

this is klogout-0.2 

klogout is a tiny program that can be invoked with 
   system("klogout <ProcessId> &");
from other programs. It will darken the desktop by drawing black
horizontal lines and then show a little popup with 
                -------------------------- 
                |   Really exit the KDE? ||
                |                        ||
                |   [Logout] [Cancel]    ||
                ==========================

klogout uses them same technology as minicli. That means it has a manual
global grab. If you press ESCAPE it will disappear as well as when you
click anywhere on the desktop. 

When you invoke "Logout" either with the mouse or the Enter/Space key,
klogout will send a TERM signal to the ProcessId given as argument.

If you use a patched kwm (hopefully this will find the way in the
kwm distribution) "kwmclient exit" will not exit immidiatly, but
call klogout with kwm's process id. 

Well... quite a useless programm but looks nice and makes it more
difficult to kill anybody else's kwm :-)


Greets,

 Matthias
 (ettrich@kde.org)



