I wonder why I disallowed sending of !isMovable() windows between virtual desktops.

svn path=/trunk/KDE/kdebase/workspace/; revision=749712
icc-effect-5.14.5
Luboš Luňák 2007-12-17 17:27:53 +00:00
parent a66ee67b28
commit fc2cb81009
1 changed files with 1 additions and 2 deletions

View File

@ -344,8 +344,7 @@ void EffectsHandlerImpl::moveWindow( EffectWindow* w, const QPoint& pos )
void EffectsHandlerImpl::windowToDesktop( EffectWindow* w, int desktop )
{
Client* cl = dynamic_cast< Client* >( static_cast<EffectWindowImpl*>(w)->window());
if( cl && cl->isMovable())
if( Client* cl = dynamic_cast< Client* >( static_cast<EffectWindowImpl*>(w)->window()))
Workspace::self()->sendClientToDesktop( cl, desktop, true );
}