summaryrefslogtreecommitdiff
path: root/source/x/x11/patch/compiz
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2010-05-19 08:58:23 +0000
committerEric Hameleers <alien@slackware.com>2018-05-31 22:43:05 +0200
commitb76270bf9e6dd375e495fec92140a79a79415d27 (patch)
tree3dbed78b2279bf9f14207a16dc634b90995cbd40 /source/x/x11/patch/compiz
parent5a12e7c134274dba706667107d10d231517d3e05 (diff)
downloadcurrent-b76270bf9e6dd375e495fec92140a79a79415d27.tar.gz
Slackware 13.1slackware-13.1
Wed May 19 08:58:23 UTC 2010 Slackware 13.1 x86_64 stable is released! Lots of thanks are due -- see the RELEASE_NOTES and the rest of the ChangeLog for credits. The ISOs are on their way to replication, a 6 CD-ROM 32-bit set and a dual-sided 32-bit/64-bit x86/x86_64 DVD. We are taking pre-orders now at store.slackware.com, and offering a discount if you sign up for a subscription. Consider picking up a copy to help support the project. Thanks again to the Slackware community for testing, contributing, and generally holding us to a high level of quality. :-) Enjoy!
Diffstat (limited to 'source/x/x11/patch/compiz')
-rw-r--r--source/x/x11/patch/compiz/compiz-0.7.8-kde42-crash.patch66
-rw-r--r--source/x/x11/patch/compiz/compiz-0.7.8-kde42-krunner.patch19
-rw-r--r--source/x/x11/patch/compiz/compiz-0.7.8-kde42.patch89
3 files changed, 0 insertions, 174 deletions
diff --git a/source/x/x11/patch/compiz/compiz-0.7.8-kde42-crash.patch b/source/x/x11/patch/compiz/compiz-0.7.8-kde42-crash.patch
deleted file mode 100644
index 00f89e2c..00000000
--- a/source/x/x11/patch/compiz/compiz-0.7.8-kde42-crash.patch
+++ /dev/null
@@ -1,66 +0,0 @@
-Implement KDecorationBridge unstable API, needed for KDE 4.2.
----
-
-diff --git a/kde/window-decorator-kde4/window.cpp b/kde/window-decorator-kde4/window.cpp
-index d2d362b..68c856b 100644
---- a/kde/window-decorator-kde4/window.cpp
-+++ b/kde/window-decorator-kde4/window.cpp
-@@ -764,6 +764,31 @@ KWD::Window::grabXServer (bool)
- }
-
- void
-+KWD::Window::repaintShadow (void)
-+{
-+}
-+
-+bool
-+KWD::Window::compositingActive (void) const
-+{
-+ return true;
-+}
-+
-+bool
-+KWD::Window::shadowsActive (void) const
-+{
-+ /* we are drawing the shadows ourselves, no need for the
-+ decoration engine to do so */
-+ return false;
-+}
-+
-+double
-+KWD::Window::opacity (void) const
-+{
-+ return 1.0;
-+}
-+
-+void
- KWD::Window::createDecoration (void)
- {
- KDecoration *decor;
-diff --git a/kde/window-decorator-kde4/window.h b/kde/window-decorator-kde4/window.h
-index bdf2c47..034e6fe 100644
---- a/kde/window-decorator-kde4/window.h
-+++ b/kde/window-decorator-kde4/window.h
-@@ -45,7 +45,7 @@ class QMenu;
-
- namespace KWD
- {
--class Window:public QWidget, public KDecorationBridge {
-+class Window:public QWidget, public KDecorationBridgeUnstable {
- Q_OBJECT public:
-
- enum Type
-@@ -104,6 +104,12 @@ class Window:public QWidget, public KDecorationBridge {
- virtual Qt::WFlags initialWFlags (void) const;
- virtual void grabXServer (bool grab);
-
-+ /* unstable API */
-+ virtual void repaintShadow ();
-+ virtual bool compositingActive () const;
-+ virtual bool shadowsActive () const;
-+ virtual double opacity () const;
-+
- void handleActiveChange (void);
- void updateFrame (WId frame);
- void updateWindowGeometry (void);
-
diff --git a/source/x/x11/patch/compiz/compiz-0.7.8-kde42-krunner.patch b/source/x/x11/patch/compiz/compiz-0.7.8-kde42-krunner.patch
deleted file mode 100644
index 3de71af8..00000000
--- a/source/x/x11/patch/compiz/compiz-0.7.8-kde42-krunner.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff --git a/kde/window-decorator-kde4/decorator.cpp b/kde/window-decorator-kde4/decorator.cpp
-index 96b818d..0bf4718 100644
---- a/kde/window-decorator-kde4/decorator.cpp
-+++ b/kde/window-decorator-kde4/decorator.cpp
-@@ -649,9 +649,10 @@ KWD::Decorator::x11EventFilter (XEvent *xevent)
- }
- else if (action == Atoms::toolkitActionRunDialogAtom)
- {
-- QDBusInterface krunner ("org.kde.krunner", "/Interface",
-- "org.kde.krunner.Interface");
-- krunner.call ("display", "");
-+ QDBusInterface krunner ("org.kde.krunner", "/App",
-+ "org.kde.krunner.App");
-+ if (krunner.isValid ())
-+ krunner.call ("display");
- }
- else if (action == Atoms::toolkitActionForceQuitDialogAtom)
- {
-
diff --git a/source/x/x11/patch/compiz/compiz-0.7.8-kde42.patch b/source/x/x11/patch/compiz/compiz-0.7.8-kde42.patch
deleted file mode 100644
index 0f996223..00000000
--- a/source/x/x11/patch/compiz/compiz-0.7.8-kde42.patch
+++ /dev/null
@@ -1,89 +0,0 @@
-diff -ur compiz-0.7.8/configure compiz-0.7.8-kde42/configure
---- compiz-0.7.8/configure 2008-09-17 13:34:28.000000000 +0200
-+++ compiz-0.7.8-kde42/configure 2008-12-01 19:07:49.000000000 +0100
-@@ -25429,7 +25429,7 @@
- kde4libs=`kde4-config --install lib --expandvars 2>/dev/null`
- kde4incs=`kde4-config --install include --expandvars 2>/dev/null`
-
-- kde4_test_includes="kdecoration.h kcommondecoration.h kdecorationbridge.h plasma/panelsvg.h"
-+ kde4_test_includes="kdecoration.h kcommondecoration.h kdecorationbridge.h plasma/framesvg.h"
-
- { echo "$as_me:$LINENO: checking for KWin headers" >&5
- echo $ECHO_N "checking for KWin headers... $ECHO_C" >&6; }
-diff -ur compiz-0.7.8/configure.ac compiz-0.7.8-kde42/configure.ac
---- compiz-0.7.8/configure.ac 2008-09-17 13:33:40.000000000 +0200
-+++ compiz-0.7.8-kde42/configure.ac 2008-12-01 19:07:33.000000000 +0100
-@@ -487,7 +487,7 @@
- kde4libs=`kde4-config --install lib --expandvars 2>/dev/null`
- kde4incs=`kde4-config --install include --expandvars 2>/dev/null`
-
-- kde4_test_includes="kdecoration.h kcommondecoration.h kdecorationbridge.h plasma/panelsvg.h"
-+ kde4_test_includes="kdecoration.h kcommondecoration.h kdecorationbridge.h plasma/framesvg.h"
-
- dnl Check for KWin headers
- AC_MSG_CHECKING([for KWin headers])
-diff -ur compiz-0.7.8/kde/window-decorator-kde4/switcher.cpp compiz-0.7.8-kde42/kde/window-decorator-kde4/switcher.cpp
---- compiz-0.7.8/kde/window-decorator-kde4/switcher.cpp 2008-08-08 13:20:31.000000000 +0200
-+++ compiz-0.7.8-kde42/kde/window-decorator-kde4/switcher.cpp 2008-12-01 19:13:18.000000000 +0100
-@@ -30,7 +30,7 @@
-
- #include <fixx11h.h>
-
--#include <KDE/Plasma/PanelSvg>
-+#include <KDE/Plasma/FrameSvg>
- #include <KDE/Plasma/Theme>
-
- #include <kwindowsystem.h>
-@@ -46,9 +46,9 @@
- QColor color;
- color = Plasma::Theme::defaultTheme ()->color (Plasma::Theme::TextColor);
-
-- mBackground = new Plasma::PanelSvg();
-+ mBackground = new Plasma::FrameSvg();
- mBackground->setImagePath ("dialogs/background");
-- mBackground->setEnabledBorders(Plasma::PanelSvg::AllBorders);
-+ mBackground->setEnabledBorders(Plasma::FrameSvg::AllBorders);
-
- mBorder.left = mBackground->marginSize(Plasma::LeftMargin);
- mBorder.right = mBackground->marginSize(Plasma::RightMargin);
-@@ -131,8 +131,8 @@
- p.setCompositionMode (QPainter::CompositionMode_Source);
- p.setRenderHint (QPainter::SmoothPixmapTransform);
-
-- mBackground->resizePanel (QSizeF (contentWidth, contentHeight));
-- mBackground->paintPanel (&p, QRect (0, 0, contentWidth,
-+ mBackground->resizeFrame (QSizeF (contentWidth, contentHeight));
-+ mBackground->paintFrame (&p, QRect (0, 0, contentWidth,
- contentHeight));
-
- mBackgroundPixmap = mPixmap.copy (mBorder.left, mBorder.top,
-@@ -168,7 +168,7 @@
- p.setCompositionMode (QPainter::CompositionMode_Source);
-
-
-- mBackground->paintPanel (&p, QRect (mBorder.left, mBorder.top +
-+ mBackground->paintFrame (&p, QRect (mBorder.left, mBorder.top +
- mGeometry.height () + 5, mGeometry.width (),
- fm.height ()));
-
-diff -ur compiz-0.7.8/kde/window-decorator-kde4/switcher.h compiz-0.7.8-kde42/kde/window-decorator-kde4/switcher.h
---- compiz-0.7.8/kde/window-decorator-kde4/switcher.h 2008-08-08 13:20:31.000000000 +0200
-+++ compiz-0.7.8-kde42/kde/window-decorator-kde4/switcher.h 2008-12-01 19:28:37.000000000 +0100
-@@ -30,7 +30,7 @@
-
- namespace Plasma
- {
--class PanelSvg;
-+class FrameSvg;
- }
-
- class QSpacerItem;
-@@ -70,7 +70,7 @@
-
- QRect mGeometry;
-
-- Plasma::PanelSvg *mBackground;
-+ Plasma::FrameSvg *mBackground;
- QPixmap mPixmap;
- QPixmap mBackgroundPixmap;
-