Keep track of the windows and hooks used by a thread to properly
refuse to change the thread desktop when it's in use.

6 files changed