I wonder why I disallowed sending of !isMovable() windows between virtual desktops.
svn path=/trunk/KDE/kdebase/workspace/; revision=749712icc-effect-5.14.5
parent
a66ee67b28
commit
fc2cb81009
|
@ -344,8 +344,7 @@ void EffectsHandlerImpl::moveWindow( EffectWindow* w, const QPoint& pos )
|
||||||
|
|
||||||
void EffectsHandlerImpl::windowToDesktop( EffectWindow* w, int desktop )
|
void EffectsHandlerImpl::windowToDesktop( EffectWindow* w, int desktop )
|
||||||
{
|
{
|
||||||
Client* cl = dynamic_cast< Client* >( static_cast<EffectWindowImpl*>(w)->window());
|
if( Client* cl = dynamic_cast< Client* >( static_cast<EffectWindowImpl*>(w)->window()))
|
||||||
if( cl && cl->isMovable())
|
|
||||||
Workspace::self()->sendClientToDesktop( cl, desktop, true );
|
Workspace::self()->sendClientToDesktop( cl, desktop, true );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue