Method

MetaWindowis_ancestor_of_transient

Declaration [src]

gboolean
meta_window_is_ancestor_of_transient (
  MetaWindow* window,
  MetaWindow* transient
)

Description [src]

The function determines whether window is an ancestor of transient; it does so by traversing the transients ancestors until it either locates window or reaches an ancestor that is not transient.

Parameters

transient MetaWindow
 

A MetaWindow.

 The data is owned by the caller of the function.

Return value

Returns: gboolean
 

TRUE if window is an ancestor of transient.