X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fframe.h;h=2720de91eff38bbcdeaa7fad1b7b083f00eb057d;hb=069e9607fa433190307bb8242294a109e88165de;hp=bbe7d370f034e7f4ee05c9244c9554137abfc57b;hpb=bb8b9ddbc5c7932f184aeed744f4762b5c95fe28;p=chaz%2Fopenbox diff --git a/openbox/frame.h b/openbox/frame.h index bbe7d370..2720de91 100644 --- a/openbox/frame.h +++ b/openbox/frame.h @@ -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; @@ -79,6 +80,8 @@ typedef struct Frame { gboolean desk_press; gboolean shade_press; gboolean iconify_press; + + gboolean focused; } Frame; void frame_startup(); @@ -90,7 +93,7 @@ void frame_hide(Frame *self); void frame_adjust_shape(Frame *self); void frame_adjust_area(Frame *self, gboolean moved, gboolean resized); void frame_adjust_state(Frame *self); -void frame_adjust_focus(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);