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
This commit is contained in:
Luboš Luňák 2005-07-28 15:23:38 +00:00
parent b464518b3c
commit 4b9d8004b7

View file

@ -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 )