summaryrefslogtreecommitdiffstats
path: root/lib/Xconfig
diff options
context:
space:
mode:
authorAnssi Hannula <anssi@mandriva.org>2008-06-19 00:36:22 +0000
committerAnssi Hannula <anssi@mandriva.org>2008-06-19 00:36:22 +0000
commit7ea4a5bfe5896b6aea9771e59ed1140b48f4dc52 (patch)
treeb4b525a99d33d109cfdcb83d4001064e568e7124 /lib/Xconfig
parent1fbd17b5087ad010ae54f3bc31d56642e7f5fb25 (diff)
downloaddrakx-kbd-mouse-x11-7ea4a5bfe5896b6aea9771e59ed1140b48f4dc52.tar
drakx-kbd-mouse-x11-7ea4a5bfe5896b6aea9771e59ed1140b48f4dc52.tar.gz
drakx-kbd-mouse-x11-7ea4a5bfe5896b6aea9771e59ed1140b48f4dc52.tar.bz2
drakx-kbd-mouse-x11-7ea4a5bfe5896b6aea9771e59ed1140b48f4dc52.tar.xz
drakx-kbd-mouse-x11-7ea4a5bfe5896b6aea9771e59ed1140b48f4dc52.zip
- XFdrake:
o use nvidia-current default settings for nvidia173 as well
Diffstat (limited to 'lib/Xconfig')
-rw-r--r--lib/Xconfig/proprietary.pm2
-rw-r--r--lib/Xconfig/various.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Xconfig/proprietary.pm b/lib/Xconfig/proprietary.pm
index e31b7ea..ab89520 100644
--- a/lib/Xconfig/proprietary.pm
+++ b/lib/Xconfig/proprietary.pm
@@ -95,7 +95,7 @@ sub may_use_Driver2 {
log::explanations("Using specific NVIDIA driver and GLX extensions");
$card2->{DRI_GLX_SPECIAL} = 1;
- $card2->{Options}{IgnoreEDID} = 1 if $card2->{DriverVersion} ne '-current';
+ $card2->{Options}{IgnoreEDID} = 1 if member($card2->{DriverVersion}, qw(71xx 96xx));
$card2;
} elsif ($card2->{Driver} eq 'fglrx') {
$check_drv->('fglrx_drv', "fglrx$card2->{DriverVersion}") or return;
diff --git a/lib/Xconfig/various.pm b/lib/Xconfig/various.pm
index d6aff9d..feaa772 100644
--- a/lib/Xconfig/various.pm
+++ b/lib/Xconfig/various.pm
@@ -50,7 +50,7 @@ sub default {
isLaptop => $isLaptop,
xdm => 1,
Composite => !($card->{Driver} eq 'fglrx' || $card->{Driver} eq 'nvidia' && $card->{DriverVersion} eq '71xx'),
- if_($card->{Driver} eq 'nvidia', RenderAccel => $card->{DriverVersion} eq '-current',
+ if_($card->{Driver} eq 'nvidia', RenderAccel => !member($card->{DriverVersion}, qw(71xx 96xx)),
Clone => 0, ForceModeDVI => 0),
if_($card->{Driver} eq 'savage', HWCursor => 1),
if_($card->{Driver} eq 'intel' && $isLaptop, Clone => 0),