summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Xconfig/various.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Xconfig/various.pm b/lib/Xconfig/various.pm
index 6199ff0..86e3500 100644
--- a/lib/Xconfig/various.pm
+++ b/lib/Xconfig/various.pm
@@ -178,9 +178,13 @@ sub config {
if ($various->{Clone}) {
$card->{Options}{TwinView} = undef;
$card->{Options}{TwinViewOrientation} = 'Clone';
+ delete $card->{Options}{DynamicTwinView};
} else {
delete $card->{Options}{TwinView};
delete $card->{Options}{TwinViewOrientation};
+ #- below disables runtime setting of TwinView via nvidia-settings
+ #- it helps on Compiz (#39171)
+ $card->{Options}{DynamicTwinView} = 'false';
}
} elsif ($card->{Driver} eq 'intel') {
if ($various->{Clone}) {