diff --git a/kcmkwin/kwincompositing/compositing.ui b/kcmkwin/kwincompositing/compositing.ui --- a/kcmkwin/kwincompositing/compositing.ui +++ b/kcmkwin/kwincompositing/compositing.ui @@ -90,7 +90,7 @@ - 6 + 10 Qt::Horizontal @@ -117,7 +117,7 @@ Qt::Horizontal - + 40 20 diff --git a/kwin.kcfg b/kwin.kcfg --- a/kwin.kcfg +++ b/kwin.kcfg @@ -254,7 +254,7 @@ 3 0 - 6 + 10 glx diff --git a/options.h b/options.h --- a/options.h +++ b/options.h @@ -926,7 +926,7 @@ bool borderless_maximized_windows; bool show_geometry_tip; bool condensed_title; - int animationSpeed; // 0 - instant, 5 - very slow + int animationSpeed; // 0 - instant, 3 - most balanced, 10 - very slow QHash m_modifierOnlyShortcuts; diff --git a/options.cpp b/options.cpp --- a/options.cpp +++ b/options.cpp @@ -992,7 +992,7 @@ setHiddenPreviews(previews); // TOOD: add setter - animationSpeed = qBound(0, config.readEntry("AnimationSpeed", Options::defaultAnimationSpeed()), 6); + animationSpeed = qBound(0, config.readEntry("AnimationSpeed", Options::defaultAnimationSpeed()), 10); auto interfaceToKey = [](OpenGLPlatformInterface interface) { switch (interface) { @@ -1124,7 +1124,7 @@ double Options::animationTimeFactor() const { - const double factors[] = { 0, 0.2, 0.5, 1, 2, 4, 20 }; + const double factors[] = { 0, 0.2, 0.5, 1, 1.25, 1.5, 1.75, 2, 2.5, 3, 4 }; return factors[ animationSpeed ]; }