showfps requires both GL and RENDER compositing, and is disabled in CMakeLists unless you have both; reflect this in the rest of the code as well.

svn path=/trunk/KDE/kdebase/workspace/; revision=790175
icc-effect-5.14.5
Adriaan de Groot 2008-03-26 00:55:39 +00:00
parent 901eb7627a
commit bd5fd7bb84
1 changed files with 5 additions and 0 deletions

View File

@ -70,12 +70,17 @@ KWIN_EFFECT_CONFIG_FACTORY
registerPlugin<KWin::SharpenEffectConfig>("sharpen"); \
registerPlugin<KWin::SnowEffectConfig>("snow"); \
registerPlugin<KWin::TrackMouseEffectConfig>("trackmouse"); \
#define GL_RENDER_PLUGINS \
registerPlugin<KWin::ShowFpsEffectConfig> ("showfps"); \
#ifdef KWIN_HAVE_OPENGL_COMPOSITING
K_PLUGIN_FACTORY_DEFINITION(EffectFactory,
NON_GL_PLUGINS
GL_PLUGINS
#ifdef KWIN_HAVE_XRENDER_COMPOSITING
GL_RENDER_PLUGINS
#endif
)
#else
K_PLUGIN_FACTORY_DEFINITION(EffectFactory,