diff --git a/effects/configs_builtins.cpp b/effects/configs_builtins.cpp index 710493f9b4..d77364e355 100644 --- a/effects/configs_builtins.cpp +++ b/effects/configs_builtins.cpp @@ -15,6 +15,7 @@ License. See the file "COPYING" for the exact licensing terms. #include +KWIN_EFFECT_CONFIG_FACTORY K_PLUGIN_FACTORY_DEFINITION(EffectFactory, registerPlugin("shadow"); registerPlugin("presentwindows");) K_EXPORT_PLUGIN(EffectFactory("kcm_kwineffect")) diff --git a/effects/presentwindows_config.cpp b/effects/presentwindows_config.cpp index add939bfa3..78b3569750 100644 --- a/effects/presentwindows_config.cpp +++ b/effects/presentwindows_config.cpp @@ -20,6 +20,7 @@ License. See the file "COPYING" for the exact licensing terms. #include #include +KWIN_EFFECT_CONFIG_FACTORY namespace KWin { diff --git a/effects/shadow_config.cpp b/effects/shadow_config.cpp index 8dc7beba78..ac82cf7541 100644 --- a/effects/shadow_config.cpp +++ b/effects/shadow_config.cpp @@ -20,6 +20,7 @@ License. See the file "COPYING" for the exact licensing terms. #include #include +KWIN_EFFECT_CONFIG_FACTORY namespace KWin { diff --git a/lib/kwineffects.h b/lib/kwineffects.h index 2b3ebebc0c..6f4c5020e1 100644 --- a/lib/kwineffects.h +++ b/lib/kwineffects.h @@ -167,7 +167,7 @@ class KWIN_EXPORT Effect /** * The declaration of the factory to export the effect **/ -K_PLUGIN_FACTORY_DECLARATION(EffectFactory) +#define KWIN_EFFECT_CONFIG_FACTORY K_PLUGIN_FACTORY_DECLARATION(EffectFactory) class KWIN_EXPORT EffectsHandler