desktop-shell: new wallpaper mode scale-crop
authorPekka Paalanen <ppaalanen@gmail.com>
Wed, 22 May 2013 15:03:10 +0000 (18:03 +0300)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 22 May 2013 22:07:30 +0000 (18:07 -0400)
commita402b0567f64a84906c581effca8eba436395698
treeec96bab64e7c032bd55f3f3faeb803840fd33d8e
parent79346ab3a5ae3ebaa83ba398913c481cc918ee46
desktop-shell: new wallpaper mode scale-crop

Scale-crop mode scales the wallpaper to tightly fill the whole output,
but preserving wallpaper aspect ratio. If aspect ratio differs from the
output's, the wallpaper is centered cutting it from top/bottom or
left/right.

Add this to the weston.ini man page, and explain all three modes.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
clients/desktop-shell.c
man/weston.ini.man