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:
parent
75b0d38725
commit
73ab1244b1
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue