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:
parent
b464518b3c
commit
4b9d8004b7
1 changed files with 1 additions and 1 deletions
|
@ -848,7 +848,7 @@ void Client::startupIdChanged()
|
||||||
bool asn_valid = workspace()->checkStartupNotification( window(), asn_id, asn_data );
|
bool asn_valid = workspace()->checkStartupNotification( window(), asn_id, asn_data );
|
||||||
if( !asn_valid )
|
if( !asn_valid )
|
||||||
return;
|
return;
|
||||||
if( asn_data.desktop() != 0 )
|
if( asn_data.desktop() != 0 && !isOnAllDesktops())
|
||||||
workspace()->sendClientToDesktop( this, asn_data.desktop(), true );
|
workspace()->sendClientToDesktop( this, asn_data.desktop(), true );
|
||||||
Time timestamp = asn_id.timestamp();
|
Time timestamp = asn_id.timestamp();
|
||||||
if( timestamp == 0 && asn_data.timestamp() != -1U )
|
if( timestamp == 0 && asn_data.timestamp() != -1U )
|
||||||
|
|
Loading…
Reference in a new issue