diff -u -r1.74 compositor.c --- xfwm4/src/compositor.c 30 Jan 2005 11:34:21 -0000 1.74 +++ xfwm4/src/compositor.c 21 Feb 2005 02:45:16 -0000 @@ -46,12 +46,16 @@ #include #include +#if COMPOSITE_MAJOR > 0 || COMPOSITE_MINOR >= 2 +#define HAVE_NAME_WINDOW_PIXMAP 1 +#endif + #define WINDOW_SOLID 0 #define WINDOW_TRANS 1 #define WINDOW_ARGB 2 #ifndef SHADOW_RADIUS -#define SHADOW_RADIUS 6 +#define SHADOW_RADIUS 12 #endif /* SHADOW_RADIUS */ #ifndef SHADOW_OPACITY @@ -667,11 +671,16 @@ { XRenderColor c; +#if 0 /* Just a color by default #1f3f6f - Same as xfdesktop */ c.red = 0x1f00; c.green = 0x3f00; c.blue = 0x6f00; c.alpha = 0xffff; +#endif + /* use the color schema of xcompmgr */ + c.red = c.green = c.blue = 0x8080; + c.alpha = 0xffff; XRenderFillRectangle (dpy, PictOpSrc, picture, &c, 0, 0, 1, 1); } return picture;