X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fframe.h;h=c402001cdc11ecae42bc1ddaf32d45f9027454eb;hb=2477a38d2f3063b697e44bf3690cf280fb26ca8a;hp=3d395342f21ea97a33a4f980183c65b2a528cafa;hpb=16a9ac018ed77e245e873be60729be509fa1ce92;p=chaz%2Fopenbox diff --git a/openbox/frame.h b/openbox/frame.h index 3d395342..c402001c 100644 --- a/openbox/frame.h +++ b/openbox/frame.h @@ -29,7 +29,7 @@ typedef enum { f->cbwidth) typedef struct Frame { - Client *client; + ObClient *client; Window window; Window plate; @@ -37,6 +37,7 @@ typedef struct Frame { Strut size; Rect area; gboolean visible; + int decorations; Window title; Window label; @@ -50,13 +51,13 @@ typedef struct Frame { Window lgrip; Window rgrip; - Appearance *a_unfocused_title; - Appearance *a_focused_title; - Appearance *a_unfocused_label; - Appearance *a_focused_label; - Appearance *a_icon; - Appearance *a_unfocused_handle; - Appearance *a_focused_handle; + RrAppearance *a_unfocused_title; + RrAppearance *a_focused_title; + RrAppearance *a_unfocused_label; + RrAppearance *a_focused_label; + RrAppearance *a_icon; + RrAppearance *a_unfocused_handle; + RrAppearance *a_focused_handle; Strut innersize; @@ -95,12 +96,12 @@ void frame_adjust_state(Frame *self); void frame_adjust_focus(Frame *self, gboolean hilite); void frame_adjust_title(Frame *self); void frame_adjust_icon(Frame *self); -void frame_grab_client(Frame *self, Client *client); -void frame_release_client(Frame *self, Client *client); +void frame_grab_client(Frame *self, ObClient *client); +void frame_release_client(Frame *self, ObClient *client); Context frame_context_from_string(char *name); -Context frame_context(Client *self, Window win); +Context frame_context(ObClient *self, Window win); /*! Applies gravity to the client's position to find where the frame should be positioned.