summaryrefslogtreecommitdiff
path: root/openbox/frame.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-03-02 06:01:16 +0000
committerDana Jansens <danakj@orodu.net>2007-03-02 06:01:16 +0000
commit80a6f06c0a3d6de2c7d94066c5a9764b97a600af (patch)
treea69f738e129e496a5e23b340eb523a6a890d80e6 /openbox/frame.h
parent78af5d15e9dd94959786811e9eddfa1e5024067c (diff)
support clients which use true transparency 32-bit visuals.
this requires that when a client is using a 32-bit visual, we have to make the frame windows that sit underneath it to use the same visual (and a colormap which matches it)
Diffstat (limited to 'openbox/frame.h')
-rw-r--r--openbox/frame.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/openbox/frame.h b/openbox/frame.h
index af01bfad..b48c07ca 100644
--- a/openbox/frame.h
+++ b/openbox/frame.h
@@ -98,6 +98,8 @@ struct _ObFrame
Window tlresize;
Window trresize;
+ Colormap colormap;
+
RrAppearance *a_unfocused_title;
RrAppearance *a_focused_title;
RrAppearance *a_unfocused_label;
@@ -142,7 +144,7 @@ struct _ObFrame
GTimeVal flash_end;
};
-ObFrame *frame_new();
+ObFrame *frame_new(struct _ObClient *c);
void frame_show(ObFrame *self);
void frame_hide(ObFrame *self);
void frame_adjust_theme(ObFrame *self);