From da0efd11f88ac0611644ede0120d2572f9040246 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 25 Sep 2008 15:11:27 +0000 Subject: - XFdrake: o set "PreferredMode" in Monitor section if the user changes the resolution (we still do not use PreferredMode for the default resolution) --- lib/Xconfig/main.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Xconfig/main.pm') diff --git a/lib/Xconfig/main.pm b/lib/Xconfig/main.pm index 5cf6649..5b58ffc 100644 --- a/lib/Xconfig/main.pm +++ b/lib/Xconfig/main.pm @@ -112,7 +112,7 @@ sub configure_chooser_raw { $prompt_for_resolution->(); } else { Xconfig::screen::configure($raw_X); - $may_set->('resolutions', Xconfig::resolution_and_depth::set_resolution($raw_X, $default_resolution, @other_resolutions)); + $may_set->('resolutions', Xconfig::resolution_and_depth::set_resolution($raw_X, $X->{monitors}, $default_resolution, @other_resolutions)); } } } -- cgit v1.2.1