+struct _ObClient;
+
+typedef void (*ObFrameIconifyAnimateFunc)(gpointer data);
+
+typedef enum {
+ OB_FRAME_CONTEXT_NONE,
+ OB_FRAME_CONTEXT_DESKTOP,
+ OB_FRAME_CONTEXT_ROOT,
+ OB_FRAME_CONTEXT_CLIENT,
+ OB_FRAME_CONTEXT_TITLEBAR,
+ OB_FRAME_CONTEXT_FRAME,
+ OB_FRAME_CONTEXT_BLCORNER,
+ OB_FRAME_CONTEXT_BRCORNER,
+ OB_FRAME_CONTEXT_TLCORNER,
+ OB_FRAME_CONTEXT_TRCORNER,
+ OB_FRAME_CONTEXT_TOP,
+ OB_FRAME_CONTEXT_BOTTOM,
+ OB_FRAME_CONTEXT_LEFT,
+ OB_FRAME_CONTEXT_RIGHT,
+ OB_FRAME_CONTEXT_MAXIMIZE,
+ OB_FRAME_CONTEXT_ALLDESKTOPS,
+ OB_FRAME_CONTEXT_SHADE,
+ OB_FRAME_CONTEXT_ICONIFY,
+ OB_FRAME_CONTEXT_ICON,
+ OB_FRAME_CONTEXT_CLOSE,
+ /*! This is a special context, which occurs while dragging a window in
+ a move/resize */
+ OB_FRAME_CONTEXT_MOVE_RESIZE,
+ OB_FRAME_CONTEXT_DOCK,
+ OB_FRAME_NUM_CONTEXTS
+} ObFrameContext;
+
+#define FRAME_CONTEXT(co, cl) ((cl && cl->type != OB_CLIENT_TYPE_DESKTOP) ? \
+ co == OB_FRAME_CONTEXT_FRAME : FALSE)
+#define CLIENT_CONTEXT(co, cl) ((cl && cl->type == OB_CLIENT_TYPE_DESKTOP) ? \
+ co == OB_FRAME_CONTEXT_DESKTOP : \
+ co == OB_FRAME_CONTEXT_CLIENT)
+
+/*! The decorations the client window wants to be displayed on it */