summaryrefslogtreecommitdiff
path: root/swaybg.1.scd
diff options
context:
space:
mode:
authorManuel Stoeckl <code@mstoeckl.com>2021-08-29 17:56:47 -0400
committerSimon Ser <contact@emersion.fr>2024-10-20 17:08:34 +0200
commit9c5a7a3181fee854fbf3a29c2133d81f05c9205e (patch)
tree59896f87c2caa78da56a2d2d3dadc456668e5d55 /swaybg.1.scd
parenta1b060a57c0364edc0ec30d793dcf9117a63b228 (diff)
downloadswaybg-9c5a7a3181fee854fbf3a29c2133d81f05c9205e.tar.gz
swaybg-9c5a7a3181fee854fbf3a29c2133d81f05c9205e.tar.bz2
Set default background color to black
This ensures that the background is always opaque. This is a significant change; before, if no background color was specified, images were drawn onto an initially transparent buffer, leaving some of the content behind swaybg visible if the image was alpha transparent or if the 'fit' or 'center' scaling modes were used and the image aspect ratio did not match, or the image was not large enough. As the purpose of a wallpaper/background program is to draw the pixels behind all other interface items, this transparency is neither a required nor a very useful behavior. Sway version >= 1.9 by default clears frames with black, so this change should have no visible impact. Users of other compositors may need to adjust their images or specify the --color flag.
Diffstat (limited to 'swaybg.1.scd')
0 files changed, 0 insertions, 0 deletions