Commit Graph

5 Commits

Author SHA1 Message Date
Neil Muller
b70d85ec14 Correct for image orientation when loading image
PEG 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.

Pulled from https://github.com/swaywm/swaybg/pull/68
2024-06-14 22:41:03 +02:00
John Lindgren
605859cdd4 Fix loss of clarity with odd-sized centered image 2022-09-10 20:04:31 +02:00
Ian Fan
f698711ddc background-image.c: remove stdbool header 2019-01-23 12:18:22 +00:00
Brian Ashworth
e3935ad143 Implement logging and remove wlroots dependency
This implements a simpler version of the wlroots logger for swaylock.
With this logger, the dependency on wlroots can be dropped. This also
adds a debug flag and disables debugging output by default
2019-01-14 23:30:54 -05:00
Drew DeVault
b90637e2a6 Convert swaylock into standalone project 2019-01-13 21:16:47 -05:00