summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/Xconfig.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/Xconfig.pm b/perl-install/Xconfig.pm
index 5cc32d47f..d34edff2e 100644
--- a/perl-install/Xconfig.pm
+++ b/perl-install/Xconfig.pm
@@ -64,6 +64,9 @@ sub getinfoFromXF86Config {
my ($X, $prefix) = @_; #- original $::o->{X} which must be changed only if sure!
$X ||= {};
+ #- don't keep the preference on upgrades??
+ $card->{prefer_xf3} = readlink("$::prefix/etc/X11/X") =~ /XF86_/ if $::isStandalone;
+
my (%keyboard, %mouse, %wacom, %card, %monitor);
my (%c, $depth);