nixpkgs/pkgs/desktops/kde-4.5/base-workspace/no-software-compositing.patch
Eelco Dolstra eff916e9d9 * Don't do compositing when using the OpenGL software renderer
(NixOS/121).

svn path=/nixpkgs/branches/x-updates/; revision=26281
2011-03-11 16:40:59 +00:00

18 lines
571 B
Diff

diff -ru -x '*~' kdebase-workspace-4.5.5-orig//kwin/compositingprefs.cpp kdebase-workspace-4.5.5/kwin/compositingprefs.cpp
--- kdebase-workspace-4.5.5-orig//kwin/compositingprefs.cpp 2010-06-24 18:28:18.000000000 +0200
+++ kdebase-workspace-4.5.5/kwin/compositingprefs.cpp 2011-03-11 16:33:07.296566718 +0100
@@ -314,9 +314,10 @@
//else if( mDriver == "radeon" )
// {
// }
- //else if( mDriver == "software" )
- // {
- // }
+ else if( mDriver == "software" )
+ {
+ mRecommendCompositing = false;
+ }
}