f29eb2fee3
A co-worker of mine has a laptop with a small display and two larger displays. When enabling the larger displays (and disabling the built-in display), the wallpaper was set incorrectly. Only the size of the old, smaller screen actually contained the wallpaper and the left was black. The reason for this is that the code directly draws the new wallpaper to the pixmap containing the old wallpaper. However, because the old display was smaller, this pixmap isn't as large as the screen and so couldn't contain all of the new wallpaper. Fix this by explicitly creating a surface of the needed size and copying the old wallpaper into it (because we might be setting only the wallpaper of some screen, not all of them). Special-thanks-to: vsp Signed-off-by: Uli Schlachter <psychon@znc.in> |
||
---|---|---|
.. | ||
color.lua.in | ||
debug.lua.in | ||
init.lua.in | ||
object.lua.in | ||
sort.lua.in | ||
surface.lua.in | ||
wallpaper.lua.in |