don't snoop on (and ungrab pointer) certain windows, like xlock

also, check result of XGrabPointer and only set hiding if it returns
0