Compositing always disabled by default for now.

svn path=/trunk/KDE/kdebase/workspace/; revision=756786
icc-effect-5.14.5
Luboš Luňák 2008-01-03 19:10:44 +00:00
parent 21a31819d1
commit 5647e4684d
3 changed files with 9 additions and 1 deletions

View File

@ -26,6 +26,8 @@ This document is for creating the 4.0 release notes. There are 3 parts:
Comments
========
- mention how to turn it on
- refer to COMPOSITE_HOWTO?
Video

View File

@ -44,6 +44,12 @@ CompositingPrefs::~CompositingPrefs()
{
}
bool CompositingPrefs::enableCompositing() const
{
return false; // disabled by default, for the time being, until support becomes better
return mEnableCompositing;
}
bool CompositingPrefs::compositingPossible()
{
#ifdef KWIN_HAVE_COMPOSITING

View File

@ -52,7 +52,7 @@ public:
static bool compositingPossible();
static QString compositingNotPossibleReason();
bool enableCompositing() const { return mEnableCompositing; }
bool enableCompositing() const;
bool enableVSync() const { return mEnableVSync; }
bool enableDirectRendering() const { return mEnableDirectRendering; }
bool strictBinding() const { return mStrictBinding; }