Refactor shadow generation
Trying to make the code easier to understand. The logic is unchanged. Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
@ -2640,9 +2640,7 @@ session_init(session_t *ps_old, int argc, char **argv) {
|
||||
.cshadow_picture = XCB_NONE,
|
||||
.white_picture = XCB_NONE,
|
||||
.gaussian_map = NULL,
|
||||
.cgsize = 0,
|
||||
.shadow_corner = NULL,
|
||||
.shadow_top = NULL,
|
||||
.shadow_sum = NULL,
|
||||
|
||||
.refresh_rate = 0,
|
||||
.refresh_intv = 0UL,
|
||||
|
Reference in New Issue
Block a user