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:
Yuxuan Shui
2018-12-31 14:27:18 +00:00
parent 3b2e149369
commit 86713c8170
7 changed files with 245 additions and 10 deletions

View File

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