Windows on all desktops are indeed on all desktops.

svn path=/trunk/kdebase/kwin/; revision=266850
This commit is contained in:
Luboš Luňák 2003-11-13 17:13:17 +00:00
parent 182804067c
commit e636ef9f6b

View file

@ -1124,7 +1124,7 @@ void Workspace::sendClientToDesktop( Client* c, int desk, bool dont_activate )
if ( c->desktop() == desk ) if ( c->desktop() == desk )
return; return;
bool was_on_desktop = c->isOnDesktop( desk ); bool was_on_desktop = c->isOnDesktop( desk ) || c->isOnAllDesktops();
c->setDesktop( desk ); c->setDesktop( desk );
if ( c->isOnDesktop( currentDesktop() ) ) if ( c->isOnDesktop( currentDesktop() ) )