Fix #90794 - make sure dialogs are sent to another virtual desktop

with their mainwindow.
CCMAIL: 90794-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=353949
icc-effect-5.14.5
Luboš Luňák 2004-10-12 14:56:08 +00:00
parent 8bd7aa970a
commit 1161bd5713
1 changed files with 1 additions and 1 deletions

View File

@ -1332,7 +1332,7 @@ void Workspace::sendClientToDesktop( Client* c, int desk, bool dont_activate )
{
bool was_on_desktop = c->isOnDesktop( desk ) || c->isOnAllDesktops();
c->setDesktop( desk );
if ( c->desktop() == desk ) // no change or desktop forced
if ( c->desktop() != desk ) // no change or desktop forced
return;
desk = c->desktop(); // Client did range checking