From 7be1a64c1dd868ea194946537101d948f0f18395 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Borgese?= Date: Mon, 21 Apr 2008 23:34:56 +0000 Subject: [PATCH] Reenable wobbly for "non-normal" windows as it disable it for kcm windows too. Instead, disable the effect at openning to avoid get it in menu, combo boxed, ... CCMAIL: sebas@kde.nl svn path=/trunk/KDE/kdebase/workspace/; revision=799614 --- effects/wobblywindows.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/effects/wobblywindows.cpp b/effects/wobblywindows.cpp index 4d787bf6fc..4346ab5ff0 100644 --- a/effects/wobblywindows.cpp +++ b/effects/wobblywindows.cpp @@ -115,7 +115,7 @@ WobblyWindowsEffect::WobblyWindowsEffect() } m_moveEffectEnabled = conf.readEntry("MoveEffect", true); - m_openEffectEnabled = conf.readEntry("OpenEffect", true); + m_openEffectEnabled = conf.readEntry("OpenEffect", false); // disable close effect by default for now as it doesn't do what I want. m_closeEffectEnabled = conf.readEntry("CloseEffect", false); @@ -229,7 +229,7 @@ void WobblyWindowsEffect::prePaintWindow(EffectWindow* w, WindowPrePaintData& da void WobblyWindowsEffect::paintWindow(EffectWindow* w, int mask, QRegion region, WindowPaintData& data) { - if(windows.contains(w) && w->isNormalWindow()) + if(windows.contains(w)) { WindowWobblyInfos& wwi = windows[w]; int tx = w->geometry().x();