[kwin] Re-add desktop cube animation effects to our built in effects

Got lost in the transition to built-in effects.
This commit is contained in:
Martin Gräßlin 2014-03-11 09:53:19 +01:00
parent 9b402662b5
commit b5451a7183
2 changed files with 3 additions and 3 deletions

View file

@ -32,9 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
namespace KWin
{
KWIN_EFFECT(cubeslide, CubeSlideEffect)
KWIN_EFFECT_SUPPORTED(cubeslide, CubeSlideEffect::supported())
CubeSlideEffect::CubeSlideEffect()
: windowMoving(false)
, desktopChangedWhileMoving(false)

View file

@ -47,6 +47,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// OpenGL-specific effects for desktop
#include "coverswitch/coverswitch.h"
#include "cube/cube.h"
#include "cube/cubeslide.h"
#include "flipswitch/flipswitch.h"
#include "glide/glide.h"
#include "invert/invert.h"
@ -94,6 +95,7 @@ EffectLoader::EffectLoader()
EFFECT(contrast, ContrastEffect)
EFFECT(coverswitch, CoverSwitchEffect)
EFFECT(cube, CubeEffect)
EFFECT(cubeslide, CubeSlideEffect)
EFFECT(dashboard, DashboardEffect)
EFFECT(desktopgrid, DesktopGridEffect)
EFFECT(diminactive, DimInactiveEffect)
@ -137,6 +139,7 @@ EffectLoader::EffectLoader()
SUPPORTED(contrast, ContrastEffect::supported)
SUPPORTED(coverswitch, CoverSwitchEffect::supported)
SUPPORTED(cube, CubeEffect::supported)
SUPPORTED(cubeslide, CubeSlideEffect::supported)
SUPPORTED(fallapart, FallApartEffect::supported)
SUPPORTED(flipswitch, FlipSwitchEffect::supported)
SUPPORTED(glide, GlideEffect::supported)