diff options
Diffstat (limited to 'lib/Xconfig/various.pm')
-rw-r--r-- | lib/Xconfig/various.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Xconfig/various.pm b/lib/Xconfig/various.pm index a762f0c..1ba652e 100644 --- a/lib/Xconfig/various.pm +++ b/lib/Xconfig/various.pm @@ -116,8 +116,7 @@ sub config { $card->{Options}{AddARGBGLXVisuals} = undef; } } else { - my $raw = $raw_X->get_Section('Extensions') || $raw_X->add_Section('Extensions', {}); - $raw->{Composite} = { 'Option' => 1, val => 'Disable' }; + $raw_X->set_extension('Composite', 'Disable'); if ($card->{Driver} eq 'nvidia') { delete $card->{Options}{AddARGBGLXVisuals}; |