Applied James DeLisle's patch adding EWMH _NET_WM_PID support.