From 8112a668537b5f6a7d4b7d92c6862114f5d88713 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Mon, 17 Dec 2007 17:29:50 +0000 Subject: [PATCH] Oh, I see. svn path=/trunk/KDE/kdebase/workspace/; revision=749713 --- effects.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/effects.cpp b/effects.cpp index 89063511fd..87db98f894 100644 --- a/effects.cpp +++ b/effects.cpp @@ -344,7 +344,8 @@ void EffectsHandlerImpl::moveWindow( EffectWindow* w, const QPoint& pos ) void EffectsHandlerImpl::windowToDesktop( EffectWindow* w, int desktop ) { - if( Client* cl = dynamic_cast< Client* >( static_cast(w)->window())) + Client* cl = dynamic_cast< Client* >( static_cast(w)->window()); + if( cl && !cl->isDesktop() && !cl->isDock() && !cl->isTopMenu()) Workspace::self()->sendClientToDesktop( cl, desktop, true ); }