summaryrefslogtreecommitdiffstats
path: root/lib/Xconfig/card.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-26 11:34:00 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-26 11:34:00 +0000
commit6237c51ef39e28a027e9c6e5c18e868580142080 (patch)
treeaa8be4a5d98b7f2c29ff69fd98e5ca6d1fbd4882 /lib/Xconfig/card.pm
parent44fe5ce31d83ca23d194b9bb601ce2ed011ba387 (diff)
downloaddrakx-kbd-mouse-x11-6237c51ef39e28a027e9c6e5c18e868580142080.tar
drakx-kbd-mouse-x11-6237c51ef39e28a027e9c6e5c18e868580142080.tar.gz
drakx-kbd-mouse-x11-6237c51ef39e28a027e9c6e5c18e868580142080.tar.bz2
drakx-kbd-mouse-x11-6237c51ef39e28a027e9c6e5c18e868580142080.tar.xz
drakx-kbd-mouse-x11-6237c51ef39e28a027e9c6e5c18e868580142080.zip
- we don't set ModulesPath to DRI_GLX_SPECIAL value, so we must read it
differently so that Xconfig::various::info() is correct (#31326)
Diffstat (limited to 'lib/Xconfig/card.pm')
-rw-r--r--lib/Xconfig/card.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Xconfig/card.pm b/lib/Xconfig/card.pm
index 97b2abd..c65c641 100644
--- a/lib/Xconfig/card.pm
+++ b/lib/Xconfig/card.pm
@@ -40,7 +40,7 @@ sub from_raw_X {
my $card = {
use_DRI_GLX => eval { any { /dri/ } $raw_X->get_modules },
- DRI_GLX_SPECIAL => first($raw_X->get_ModulePaths),
+ DRI_GLX_SPECIAL => $device->{Driver} eq 'nvidia' && eval { any { $_ eq 'glx' } $raw_X->get_modules },
%$device,
if_($device->{Driver} eq 'nvidia',
DriverVersion =>