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
This commit is contained in:
Lucas Murray 2009-02-04 07:09:47 +00:00
parent d0b6642abd
commit cbea219964
2 changed files with 2 additions and 1 deletions

View file

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

View file

@ -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 )