X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=openbox%2Fclient.h;h=83fdc9afd94464b6f41677d832c509277a7ea136;hb=18a35e04914bf8d108cf7a9d46970f13620ef534;hp=b9dd9e5a0a537ee991be60ce3a53451d9df3bca2;hpb=810afd8597da355039e289218abed6c062585870;p=chaz%2Fopenbox diff --git a/openbox/client.h b/openbox/client.h index b9dd9e5a..83fdc9af 100644 --- a/openbox/client.h +++ b/openbox/client.h @@ -231,8 +231,6 @@ struct _ObClient /*! Indicates if the client is trying to close but has stopped responding to pings */ gboolean not_responding; - /*! We tried to close the window with a DESTROY message */ - gboolean close_tried_destroy; /*! We tried to close the window with a SIGTERM */ gboolean close_tried_term; @@ -306,6 +304,9 @@ struct _ObClient /*! Where the window should iconify to/from */ Rect icon_geometry; + + /*! A boolean used for algorithms which need to mark clients as visited */ + gboolean visited; }; extern GList *client_list; @@ -690,7 +691,9 @@ ObClient *client_direct_parent(ObClient *self); */ ObClient *client_search_top_direct_parent(ObClient *self); -/*! Is one client a direct child of another (i.e. not through the group.) */ +/*! Is one client a direct child of another (i.e. not through the group.) + This checks more than one level, so there may be another direct child in + between */ gboolean client_is_direct_child(ObClient *parent, ObClient *child); /*! Search for a parent of a client. This only searches up *ONE LEVEL*, and