Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWin
Commits
968b57fe
Commit
968b57fe
authored
Oct 12, 2020
by
Nicolas Fella
Browse files
Fix KWIN_EFFECT_FACTORY macros
The macros don't work because of the mismatching capitalization.
parent
aa9475e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
libkwineffects/kwineffects.h
View file @
968b57fe
...
...
@@ -755,10 +755,10 @@ public:
#define KWIN_EFFECT_FACTORY_ENABLED( factoryName, className, jsonFile, enabled ) \
KWIN_EFFECT_FACTORY_SUPPORTED_ENABLED( factoryName, className, jsonFile, return true;, enabled )
#define KWIN_EFFECT_FACTORY_SUPPORTED( factoryName, class
n
ame, jsonFile, supported ) \
#define KWIN_EFFECT_FACTORY_SUPPORTED( factoryName, class
N
ame, jsonFile, supported ) \
KWIN_EFFECT_FACTORY_SUPPORTED_ENABLED( factoryName, className, jsonFile, supported, return true; )
#define KWIN_EFFECT_FACTORY( factoryName, class
n
ame, jsonFile ) \
#define KWIN_EFFECT_FACTORY( factoryName, class
N
ame, jsonFile ) \
KWIN_EFFECT_FACTORY_SUPPORTED_ENABLED( factoryName, className, jsonFile, return true;, return true; )
...
...
Nicolas Fella
@nicolasfella
mentioned in commit
e35a5a7e
·
Oct 12, 2020
mentioned in commit
e35a5a7e
mentioned in commit e35a5a7e1d55233276455ff2b488628fa2add7ca
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment