Add make_shadow and paint_all_new to backend_common.c
Also made make_shadow private in render.c Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
@ -438,7 +438,7 @@ static void paint_root(session_t *ps, const region_t *reg_paint) {
|
||||
ps->root_tile_paint.pict);
|
||||
}
|
||||
|
||||
xcb_image_t *make_shadow(session_t *ps, double opacity, int width, int height) {
|
||||
static xcb_image_t *make_shadow(session_t *ps, double opacity, int width, int height) {
|
||||
xcb_image_t *ximage;
|
||||
int ylimit, xlimit;
|
||||
int swidth = width + ps->cgsize;
|
||||
|
Reference in New Issue
Block a user