summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfigurator.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/Xconfigurator.pm')
-rw-r--r--perl-install/Xconfigurator.pm14
1 files changed, 8 insertions, 6 deletions
diff --git a/perl-install/Xconfigurator.pm b/perl-install/Xconfigurator.pm
index add16c516..34c644b61 100644
--- a/perl-install/Xconfigurator.pm
+++ b/perl-install/Xconfigurator.pm
@@ -700,15 +700,17 @@ sub write_XF86Config {
print G "EndSection\n\n\n";
#- write module section for version 3.
- print F qq(
+ if ($o->{wacom} || $o->{card}{Utah_glx}) {
+ print F qq(
Section "Module"
-) if $o->{wacom} || $o->{Utah_glx};
- print F qq( Load "xf86Wacom.so"\n) if $o->{wacom};
- print F qq( Load "glx-3.so"\n) if $o->{Utah_glx}; #- glx.so may clash with server version 4.
- print F qq(
+);
+ print F qq( Load "xf86Wacom.so"\n) if $o->{wacom};
+ print F qq( Load "glx-3.so"\n) if $o->{card}{Utah_glx}; #- glx.so may clash with server version 4.
+ print F qq(
EndSection
-) if $o->{wacom} || $o->{Utah_glx};
+);
+ }
#- write wacom device support.
print F qq(