Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x11: free old root pixmap if we re-create it
we re-create this pixmap in _get_root_pixmap_and_surface() if its width and height do not match (here we cannot resize unfortunately; if it's smaller we could allow clipping, but we don't want to do that because of our various fill modes, and if it's larger, well, the old pixmap is not big enough and there are no x11 resize calls). however, we did not free the old pixmap, resulting in a leak every time we painted the screen. Signed-off-by: Tycho Andersen <tycho@tycho.pizza>
- Loading branch information