diff options
Diffstat (limited to 'openbox/client.h')
| -rw-r--r-- | openbox/client.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/openbox/client.h b/openbox/client.h index b418964d..ff460153 100644 --- a/openbox/client.h +++ b/openbox/client.h @@ -575,7 +575,15 @@ ObClient *client_search_modal_child(ObClient *self); It will only contain more than 1 element if the client is transient for its group. */ -GSList *client_search_top_transients(ObClient *self); +GSList *client_search_all_top_parents(ObClient *self); + +/*! Returns a window's top level parent. This only counts direct parents, + not groups if it is transient for its group. +*/ +ObClient *client_search_top_parent(ObClient *self); + +/*! Is one client a direct child of another (i.e. not through the group.) */ +gboolean client_is_direct_child(ObClient *parent, ObClient *child); /*! Search for a parent of a client. This only searches up *ONE LEVEL*, and returns the searched for parent if it is a parent, or NULL if not. */ |
