allow shadows on argb windows

This commit is contained in:
Christopher Jeffrey 2011-11-04 03:59:51 -05:00
parent 6c9166c36f
commit b0608d0c7c
1 changed files with 2 additions and 2 deletions

View File

@ -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);