Comment 30 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

Hi,
This is a random guess from looking at the source code, but is there someone here with a double monitor able to recompile gnome desktop to try the following fix:
In libgnome-desktop/gnome-bg.c around line 833
{ in function static GdkPixbuf * get_scaled_pixbuf (...) , around line 833 }
----
 switch (placement) {
 case G_DESKTOP_BACKGROUND_STYLE_SPANNED:
- new = pixbuf_scale_to_fit (pixbuf, width, height);
+ new = pixbuf_scale_to_min (pixbuf, width, height);
  break;
 case G_DESKTOP_BACKGROUND_STYLE_ZOOM:
  new = pixbuf_scale_to_min (pixbuf, width, height);
  break;

 case G_DESKTOP_BACKGROUND_STYLE_STRETCHED:
  new = gdk_pixbuf_scale_simple (pixbuf, width, height,
            GDK_INTERP_BILINEAR);
  break;
----