From a822eadc64b9d536748ce691f5799b249361202f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BCgler?= Date: Wed, 9 Jul 2008 02:27:07 +0000 Subject: [PATCH] Enable the mouse tracking plugin by default. svn path=/trunk/KDE/kdebase/workspace/; revision=829757 --- effects/trackmouse.desktop | 2 +- kcmkwin/kwincompositing/main.cpp | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/effects/trackmouse.desktop b/effects/trackmouse.desktop index d7b9a8cea7..36a569b0ab 100644 --- a/effects/trackmouse.desktop +++ b/effects/trackmouse.desktop @@ -109,5 +109,5 @@ X-KDE-PluginInfo-Version=0.1.0 X-KDE-PluginInfo-Category=Accessibility X-KDE-PluginInfo-Depends= X-KDE-PluginInfo-License=GPL -X-KDE-PluginInfo-EnabledByDefault=false +X-KDE-PluginInfo-EnabledByDefault=true X-KDE-Library=kwin4_effect_builtins diff --git a/kcmkwin/kwincompositing/main.cpp b/kcmkwin/kwincompositing/main.cpp index da70c67b71..ba6ec904dc 100644 --- a/kcmkwin/kwincompositing/main.cpp +++ b/kcmkwin/kwincompositing/main.cpp @@ -208,7 +208,8 @@ void KWinCompositingConfig::loadGeneralTab() int winManagementEnabled = LOAD_EFFECT_CONFIG("presentwindows") + LOAD_EFFECT_CONFIG("boxswitch") + LOAD_EFFECT_CONFIG("desktopgrid") - + LOAD_EFFECT_CONFIG("dialogparent"); + + LOAD_EFFECT_CONFIG("dialogparent") + + LOAD_EFFECT_CONFIG("trackmouse"); if (winManagementEnabled > 0 && winManagementEnabled < 4) { ui.effectWinManagement->setTristate(true); ui.effectWinManagement->setCheckState(Qt::PartiallyChecked); @@ -268,6 +269,7 @@ void KWinCompositingConfig::saveGeneralTab() WRITE_EFFECT_CONFIG("boxswitch", ui.effectWinManagement); WRITE_EFFECT_CONFIG("desktopgrid", ui.effectWinManagement); WRITE_EFFECT_CONFIG("dialogparent", ui.effectWinManagement); + WRITE_EFFECT_CONFIG("trackmouse", ui.effectWinManagement); } WRITE_EFFECT_CONFIG("shadow", ui.effectShadows); // TODO: maybe also do some effect-specific configuration here, e.g.