desktop/qtcurve/fix-kwin_decoration-macro.patch
Daniele 7bb7e90a90 Upgrade qtcurve to 1.8.13.
Removing an archaic patch, introducing a new patch to make so that the KWin decoration shows up correctly in the decoration list of systemsettings.
2012-08-02 13:42:30 +00:00

16 lines
463 B
Diff

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();