From 80a6f06c0a3d6de2c7d94066c5a9764b97a600af Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 2 Mar 2007 06:01:16 +0000 Subject: 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) --- openbox/frame.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'openbox/frame.h') 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); -- cgit v1.2.3