Just try to look for _NET_WM_PID atom when grabbing a window.

Hopefully this won't cause any problems. This would simplify
things on the SteamOS front.