LOGIN / SIGN UP
2 Author: Claes Nästén
Date: Sat Feb 20 13:12:23 +0100 2010
Subject: Added CLIENT_WINDOW and CLIENT_PID to environment for Exec (#191)
    To access client window and client pid command line it should be
    wrapped (as it is an environment variable). Taking a screenshot of
    the current active window and then displaying it can be done with:
    
     #!/bin/sh
     import -window $CLIENT_WINDOW /tmp/client.$CLIENT_PID.png
     display /tmp/client.$CLIENT_PID.png
    
    And then an action executing the above script.