Add a $pointer execute variable substitution and make $wip and $pid consistent (Fix...
authorDana Jansens <danakj@orodu.net>
Tue, 2 Oct 2012 00:20:15 +0000 (20:20 -0400)
committerDana Jansens <danakj@orodu.net>
Sun, 7 Oct 2012 02:30:02 +0000 (22:30 -0400)
commitd3a8bab0f09e6a77a98e3c54fe5a57966bb0d636
tree5ebf7945b484ea115f93e976be506f02630c10fb
parentaa36b603d7bc35ad82a6ce6246c4edd0af6eacc8
Add a $pointer execute variable substitution and make $wip and $pid consistent (Fix bug 5758)

$wip and $pid would output values for the current target window if there was
one, but output nothing at all if there wasn't making the output difficult to
parse. Changed to make these always output a 0 if there is no target.

Added a $pointer variable that is replaced with the x and y coordiates of the
pointer, separated by a space.

Inspired by the work of Denis Kaganovich <mahatma@eu.by>.
openbox/actions/execute.c