summaryrefslogtreecommitdiff
path: root/community-staging/qtcurve-kde4/fix-kwin_decoration-macro.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community-staging/qtcurve-kde4/fix-kwin_decoration-macro.patch')
-rw-r--r--community-staging/qtcurve-kde4/fix-kwin_decoration-macro.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/community-staging/qtcurve-kde4/fix-kwin_decoration-macro.patch b/community-staging/qtcurve-kde4/fix-kwin_decoration-macro.patch
new file mode 100644
index 000000000..6202e7b87
--- /dev/null
+++ b/community-staging/qtcurve-kde4/fix-kwin_decoration-macro.patch
@@ -0,0 +1,15 @@
+diff -Naur a/kwin/qtcurvehandler.cpp b/kwin/qtcurvehandler.cpp
+--- a/kwin/qtcurvehandler.cpp 2012-08-02 13:36:58.811347708 +0000
++++ b/kwin/qtcurvehandler.cpp 2012-08-02 13:38:03.240996792 +0000
+@@ -489,6 +489,11 @@
+
+ extern "C"
+ {
++ KWIN_EXPORT int decoration_version()
++ {
++ return KWIN_DECORATION_API_VERSION;
++ }
++
+ KDE_EXPORT KDecorationFactory *create_factory()
+ {
+ KWinQtCurve::handler = new KWinQtCurve::QtCurveHandler();