From 4b9d8004b7d04cb99bdc8f58e3caeb9164bde344 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Thu, 28 Jul 2005 15:23:38 +0000 Subject: [PATCH] If a window is set to be on all desktops, don't unset it (e.g. for new KUniqueApp instance). svn path=/trunk/KDE/kdebase/kwin/; revision=439636 --- activation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activation.cpp b/activation.cpp index 135b1da8a1..6c9c143635 100644 --- a/activation.cpp +++ b/activation.cpp @@ -848,7 +848,7 @@ void Client::startupIdChanged() bool asn_valid = workspace()->checkStartupNotification( window(), asn_id, asn_data ); if( !asn_valid ) return; - if( asn_data.desktop() != 0 ) + if( asn_data.desktop() != 0 && !isOnAllDesktops()) workspace()->sendClientToDesktop( this, asn_data.desktop(), true ); Time timestamp = asn_id.timestamp(); if( timestamp == 0 && asn_data.timestamp() != -1U )