How would I go about spawning an external process with the XID of the focused window as an argument? I currently spawn this process and use xprop and click on the focused window to get its PID. -- Mina Nagy Zaki