summaryrefslogtreecommitdiff
path: root/background-image.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Correct for image orientation when loading imageManuel Stoeckl2024-04-161-1/+5
| | | | | | | | JPEG and other image formats may include an EXIF orientation tag which indicates in what orientation (rotation and mirroring) the image should be displayed. libgdk-pixbuf does not correct for this when loading an image, but provides a function to apply the transform after the fact, which this commit uses.
* Fix memory leak when using image tile modeManuel Stoeckl2022-03-051-0/+1
| | | | | | | cairo_pattern_t and cairo_surface_t are both reference counted; before this change, `pattern` being leaked kept alive an extra reference to the image to which it referred, thereby leaking the image as well.
* cairo: Replace <cairo/cairo.h> by <cairo.h>Issam E. Maghni2021-05-101-1/+1
| | | | Same as https://github.com/swaywm/sway/pull/6262
* Split swaybg into a standalone projectDrew DeVault2019-04-251-0/+120