Comment 32 for bug 521492

Revision history for this message
Florent Viard (fviard) wrote : Re: Dual Monitor wallpaper is not scaling across both monitors, same background is repeated on both monitors instead

No, because there is the following piece of code before, so my guess is that my fix proposal will give a : "SPAN + ZOOM" effect.

----
if (is_root && (bg->placement != G_DESKTOP_BACKGROUND_STYLE_SPANNED)) {
  draw_color_each_monitor (bg, dest, screen);
  if (bg->placement != G_DESKTOP_BACKGROUND_STYLE_NONE) {
   draw_each_monitor (bg, dest, screen);
  }
 } else {
  draw_color (bg, dest, screen);
  if (bg->placement != G_DESKTOP_BACKGROUND_STYLE_NONE) {
   draw_once (bg, dest, screen);
  }
 }
----