From b0608d0c7c9c1a348a00bfa94e3f84b546e499c6 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Fri, 4 Nov 2011 03:59:51 -0500 Subject: [PATCH] allow shadows on argb windows --- xcompmgr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xcompmgr.c b/xcompmgr.c index 8a80cdea..4d254045 100644 --- a/xcompmgr.c +++ b/xcompmgr.c @@ -834,7 +834,7 @@ win_extents(Display *dpy, win *w) { r.height = w->a.height + w->a.border_width * 2; if (win_type_shadow[w->window_type]) { - if (w->mode != WINDOW_ARGB) { + //if (w->mode != WINDOW_ARGB) { XRectangle sr; w->shadow_dx = shadow_offset_x; @@ -872,7 +872,7 @@ win_extents(Display *dpy, win *w) { if (sr.y + sr.height > r.y + r.height) { r.height = sr.y + sr.height - r.y; } - } + //} } return XFixesCreateRegion(dpy, &r, 1);