]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.h
draw menu separators
[chaz/openbox] / openbox / client.h
index 080225cfaf3a8adcfbe85ad02fb6bf9fb6ef2c38..758851e1432dc143073b8f76454f6319151c9047 100644 (file)
@@ -12,6 +12,7 @@
 
 struct _ObFrame;
 struct _ObGroup;
+struct _ObSessionState;
 
 typedef struct _ObClient     ObClient;
 typedef struct _ObClientIcon ObClientIcon;
@@ -67,6 +68,10 @@ struct _ObClient
 
     /*! The id of the group the window belongs to */
     struct _ObGroup *group;
+
+    /*! Saved session data to apply to this client */
+    struct _ObSessionState *session;
+
     /*! Whether or not the client is a transient window. This is guaranteed to 
       be TRUE if transient_for != NULL, but not guaranteed to be FALSE if
       transient_for == NULL. */
@@ -238,6 +243,11 @@ extern GList *client_list;
 void client_startup();
 void client_shutdown();
 
+typedef void (*ObClientDestructorFunc)(ObClient *c);
+
+void client_add_destructor(ObClientDestructorFunc func);
+void client_remove_destructor(ObClientDestructorFunc func);
+
 /*! Manages all existing windows */
 void client_manage_all();
 /*! Manages a given window */
This page took 0.022372 seconds and 4 git commands to generate.