summaryrefslogtreecommitdiffstats
path: root/lib/Xconfig/main.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-09-25 15:11:27 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-09-25 15:11:27 +0000
commitda0efd11f88ac0611644ede0120d2572f9040246 (patch)
tree7553ce59e604d792b7c477a774e69456e9a9d5d9 /lib/Xconfig/main.pm
parent97ed258da08e51ab9d12f923952f875db5456680 (diff)
downloaddrakx-kbd-mouse-x11-da0efd11f88ac0611644ede0120d2572f9040246.tar
drakx-kbd-mouse-x11-da0efd11f88ac0611644ede0120d2572f9040246.tar.gz
drakx-kbd-mouse-x11-da0efd11f88ac0611644ede0120d2572f9040246.tar.bz2
drakx-kbd-mouse-x11-da0efd11f88ac0611644ede0120d2572f9040246.tar.xz
drakx-kbd-mouse-x11-da0efd11f88ac0611644ede0120d2572f9040246.zip
- XFdrake:
o set "PreferredMode" in Monitor section if the user changes the resolution (we still do not use PreferredMode for the default resolution)
Diffstat (limited to 'lib/Xconfig/main.pm')
-rw-r--r--lib/Xconfig/main.pm2
1 files changed, 1 insertions, 1 deletions
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));
}
}
}