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
This commit is contained in:
parent
8bd7aa970a
commit
1161bd5713
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue