summaryrefslogtreecommitdiffstats
path: root/lib/Xconfig
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-03-27 10:53:16 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-03-27 10:53:16 +0000
commitb5d609d883c1c630e9b43e18321fd12ecb457482 (patch)
treec5a4afb84dc39ac7268a0e72732b74a4c9c917bd /lib/Xconfig
parent16b4c21a30011c5e8296273b2fd3e8acb2706e15 (diff)
downloaddrakx-kbd-mouse-x11-b5d609d883c1c630e9b43e18321fd12ecb457482.tar
drakx-kbd-mouse-x11-b5d609d883c1c630e9b43e18321fd12ecb457482.tar.gz
drakx-kbd-mouse-x11-b5d609d883c1c630e9b43e18321fd12ecb457482.tar.bz2
drakx-kbd-mouse-x11-b5d609d883c1c630e9b43e18321fd12ecb457482.tar.xz
drakx-kbd-mouse-x11-b5d609d883c1c630e9b43e18321fd12ecb457482.zip
- XFdrake:
o disable "DynamicTwinView" when not using TwinView (#39171) it disables runtime setting of TwinView via nvidia-settings it helps on Compiz (#39171)
Diffstat (limited to 'lib/Xconfig')
-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}) {