Compositing always disabled by default for now.

svn path=/trunk/KDE/kdebase/workspace/; revision=756786
This commit is contained in:
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; }