This program does nothing more than keep the session alive if the window manager 
dies or is killed. 

To compile this program do the following:

gcc -o xsession xsession.c

Then copy it to your /usr/X11/bin directory.

Common usage of this program is as follows:

edit ~/.xinitrc and add

aewm++ &
exec xsession

Now if aewm++ dies or is killed off then X does die. You can safely start
another window manager from the command line or an xterm window.
