FVWM: Identify window by PID?

2020-09-09 Thread Dr Rainer Woitok
Greetings,

is there a way to identify a window by the PID of the process running in
it?  So I could do something along the lines of

   All (...  ...) WarpToWindow 50 50

I didn't yet find a solution at

   https://www.fvwm.org/Archive/Manpages/fvwm.html

I know there is the "wmctrl", but I would prefer a solution within Fvwm.

Sincerely,
  Rainer



Re: FVWM: Identify window by PID?

2020-09-09 Thread Thomas Adam
On Wed, Sep 09, 2020 at 06:09:26PM +0200, Dr Rainer Woitok wrote:
> Greetings,
> 
> is there a way to identify a window by the PID of the process running in
> it?  So I could do something along the lines of
> 
>All (...  ...) WarpToWindow 50 50
> 
> I didn't yet find a solution at
> 
>https://www.fvwm.org/Archive/Manpages/fvwm.html
> 
> I know there is the "wmctrl", but I would prefer a solution within Fvwm.

Some applications might set _NET_WM_PID.  You can check using xprop.

-- Thomas