gears.wallpaper: Create smaller image surface (FS#1087)
commitf86a9c896cddc215704ddfe3779ad03545e71e72
authorUli Schlachter <psychon@znc.in>
Tue, 12 Feb 2013 14:15:16 +0000 (12 15:15 +0100)
committerUli Schlachter <psychon@znc.in>
Tue, 12 Feb 2013 14:15:16 +0000 (12 15:15 +0100)
treec6ae13d62b6007f6e2a66405b857b0383e0a3ab1
parentbf72cf71eac834a46ed4d6e1755d7fd1ae57c104
gears.wallpaper: Create smaller image surface (FS#1087)

When no wallpaper exists yet, instead of creating a black image surface which
covers all the screens, just create a surface for the screen which we need. This
means that way less pixels have to be uploaded to the X11 server, which should
be faster.

Signed-off-by: Uli Schlachter <psychon@znc.in>
lib/gears/wallpaper.lua.in