From 1161bd571301dc95d3aa0b42fce8c15ca79e6bac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Tue, 12 Oct 2004 14:56:08 +0000 Subject: [PATCH] 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 --- workspace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workspace.cpp b/workspace.cpp index 4237114341..6273a2dad0 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -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