On Fri 25 Nov 2011 01:00:58 PM PST, Bastien Dejean wrote:
> Troels Henriksen a écrit :
>
> > look for the process indicated by the _NET_WM_PID property, then
> > use the working directory of that process.
>
> It seems the value of _NET_WM_PID is not always useful: For urxvtc
> clients, it is equal to the pid of urxvtd.
Indeed, I already tried that approach[1] and found that it becomes
too complex (need to walk process tree) before patching DWM itself.
[1]:
https://github.com/sunaku/home/blob/master/bin/xcd
--
Hackers are just a migratory lifeform with a tropism for computers.
Received on Fri Nov 25 2011 - 20:26:31 CET