xdo_get_pid_window

Get the PID owning a window. Not all applications support this. It looks at the _NET_WM_PID property of the window.

@param window the window to query. @return the process id or 0 if no pid found.

extern (C) nothrow @nogc
int
xdo_get_pid_window
(
const xdo_t* xdo
,
Window window
)

Meta