mirror of https://github.com/yshui/picom.git
x: don't abort in release for double freeing a xrender picture
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
1307d9ec70
commit
6bd780f10f
2
src/x.c
2
src/x.c
|
@ -537,7 +537,7 @@ void x_clear_picture_clip_region(struct x_connection *c, xcb_render_picture_t pi
|
|||
void x_free_picture(struct x_connection *c, xcb_render_picture_t p) {
|
||||
assert(p != XCB_NONE);
|
||||
auto cookie = xcb_render_free_picture(c->c, p);
|
||||
set_cant_fail_cookie(c, cookie);
|
||||
set_debug_cant_fail_cookie(c, cookie);
|
||||
}
|
||||
|
||||
enum {
|
||||
|
|
Loading…
Reference in New Issue