Skip to content

Commit

Permalink
picom: free root image properly
Browse files Browse the repository at this point in the history
fixes #982
  • Loading branch information
absolutelynothelix committed Dec 30, 2022
1 parent 60ac2b6 commit 91828be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/picom.c
Original file line number Diff line number Diff line change
Expand Up @@ -990,6 +990,7 @@ void root_damaged(session_t *ps) {
if (ps->backend_data) {
if (ps->root_image) {
ps->backend_data->ops->release_image(ps->backend_data, ps->root_image);
ps->root_image = NULL;
}
auto pixmap = x_get_root_back_pixmap(ps->c, ps->root, ps->atoms);
if (pixmap != XCB_NONE) {
Expand Down

0 comments on commit 91828be

Please sign in to comment.