Method

MetaWindowget_pid

Declaration [src]

pid_t
meta_window_get_pid (
  MetaWindow* window
)

Description [src]

Returns the pid of the process that created this window, if available to the windowing system.

Note that the value returned by this is vulnerable to spoofing attacks by the client.

Return value

Type: pid_t

The pid, or 0 if not known.