Re: [dev] [dwm] [PATCH] spawn_cwd - spawn from current client's cwd

From: Suraj N. Kurapati <sunaku_AT_gmail.com>
Date: Fri, 25 Nov 2011 11:26:31 -0800

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

This archive was generated by hypermail 2.3.0 : Fri Nov 25 2011 - 20:36:04 CET