KanoComputing/idesk — pull request #6 by pazdera (2013-12-06 18:12:51+00:00)
Title: background: Adding support for multiple ratios

These modifications will enable us to ship 2 background images, one for 16:9 and the second one for 4:3. idesk will then automatically pick one based on the size of the screen.

See https://github.com/KanoComputing/Spindle/issues/329.

Refactored some common code to a function (as @alex5imon suggested).