summaryrefslogtreecommitdiff
path: root/openbox/client.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-03-12 02:24:40 +0000
committerDana Jansens <danakj@orodu.net>2007-03-12 02:24:40 +0000
commitd33f44cd86c1474a2c84376509691869aca7bd9f (patch)
tree51b8f35cdf674ec30cbc16c71e5041fe5d44d4d7 /openbox/client.h
parentbf247215bb015dbb4dfa39c38bf020aa815cd306 (diff)
Rewrite the stacking code. It's a lot faster now, I should think. It's def a more clever algorithm. It deals with group transients much better.
On that note, utility and menu and toolbar window types are now treated as group transients in terms of stacking and focus and such.
Diffstat (limited to 'openbox/client.h')
-rw-r--r--openbox/client.h10
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. */