1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2024-11-11 13:51:02 -05:00

different clear shadow dimensions

This commit is contained in:
Christopher Jeffrey 2012-02-01 13:57:52 -06:00
parent 75b0d38725
commit 73ab1244b1

View file

@ -666,8 +666,8 @@ make_shadow(Display *dpy, double opacity,
//int sr = r + 4;
//int er = r + 8;
int r = gsize / 2;
int sr = r - 2;
int er = r + 2;
int sr = r - 4;
int er = r + 4;
for (y = sr; y < (sheight - er); y++) {
for (x = sr; x < (swidth - er); x++) {
data[y * swidth + x] = 0;