From cbea2199640f23e1f44df690f3b1a661b3a73053 Mon Sep 17 00:00:00 2001 From: Lucas Murray Date: Wed, 4 Feb 2009 07:09:47 +0000 Subject: [PATCH] Missing code from mouse polling commit. Stop polling when compositing is disabled and increment the effect API version number. svn path=/trunk/KDE/kdebase/workspace/; revision=920963 --- composite.cpp | 1 + lib/kwineffects.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/composite.cpp b/composite.cpp index 6922c2faa0..36a3b3fe76 100644 --- a/composite.cpp +++ b/composite.cpp @@ -247,6 +247,7 @@ void Workspace::finishCompositing() delete scene; scene = NULL; compositeTimer.stop(); + mousePollingTimer.stop(); repaints_region = QRegion(); for( ClientList::ConstIterator it = clients.constBegin(); it != clients.constEnd(); diff --git a/lib/kwineffects.h b/lib/kwineffects.h index 94a7088a7c..540eb91fa2 100644 --- a/lib/kwineffects.h +++ b/lib/kwineffects.h @@ -164,7 +164,7 @@ X-KDE-Library=kwin4_effect_cooleffect #define KWIN_EFFECT_API_MAKE_VERSION( major, minor ) (( major ) << 8 | ( minor )) #define KWIN_EFFECT_API_VERSION_MAJOR 0 -#define KWIN_EFFECT_API_VERSION_MINOR 57 +#define KWIN_EFFECT_API_VERSION_MINOR 58 #define KWIN_EFFECT_API_VERSION KWIN_EFFECT_API_MAKE_VERSION( \ KWIN_EFFECT_API_VERSION_MAJOR, KWIN_EFFECT_API_VERSION_MINOR )