patch to catch events that tell us when to disable desktop

There are 2 main improvements in the original openbox code:

1. when the mouse pointer changes to hourglass we keep a global flag.
2. when openbox needs to decide wether focus can change, we know if the hourglass is active.

This change does not actually disable desktop icons yet.