From fbe515c08b94e805619bc6f765371d1597399186 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 11 Sep 2008 10:41:25 +0000 Subject: - XFdrake: o do set a background image when using resolution "Automatic" (#43644) (thanks to derek at jennings dot homelinux dot net) --- NEWS | 3 +++ lib/Xconfig/resolution_and_depth.pm | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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; -- cgit v1.2.1