summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-09-11 10:41:25 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-09-11 10:41:25 +0000
commitfbe515c08b94e805619bc6f765371d1597399186 (patch)
treecf73b7108985a3dffa526ca9421439e5684cb00f
parent9555e5461ca54a18c390ad9edb3e55d7c99af61e (diff)
downloaddrakx-kbd-mouse-x11-fbe515c08b94e805619bc6f765371d1597399186.tar
drakx-kbd-mouse-x11-fbe515c08b94e805619bc6f765371d1597399186.tar.gz
drakx-kbd-mouse-x11-fbe515c08b94e805619bc6f765371d1597399186.tar.bz2
drakx-kbd-mouse-x11-fbe515c08b94e805619bc6f765371d1597399186.tar.xz
drakx-kbd-mouse-x11-fbe515c08b94e805619bc6f765371d1597399186.zip
- XFdrake:
o do set a background image when using resolution "Automatic" (#43644) (thanks to derek at jennings dot homelinux dot net)
-rw-r--r--NEWS3
-rw-r--r--lib/Xconfig/resolution_and_depth.pm2
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index d385114..84ddfb5 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- XFdrake:
+ o do set a background image when using resolution "Automatic" (#43644)
+
Version 0.60 - 9 September 2008
- XFdrake:
diff --git a/lib/Xconfig/resolution_and_depth.pm b/lib/Xconfig/resolution_and_depth.pm
index 19b1fc9..39ba7b9 100644
--- a/lib/Xconfig/resolution_and_depth.pm
+++ b/lib/Xconfig/resolution_and_depth.pm
@@ -241,9 +241,9 @@ sub set_resolution {
@other = grep { $_->{X} < $resolution->{X} } @other;
@other = filter_on_ratio($ratio, @other);
- set_default_background($resolution);
set_915resolution($resolution) if is_915resolution_configured();
}
+ set_default_background($resolution);
my $resolutions = [ $resolution, @other ];
$raw_X->set_resolutions($resolutions);
$resolutions;