small fix
svn path=/trunk/kdebase/kwin/; revision=78049
This commit is contained in:
parent
927ab8b735
commit
ef97333d15
1 changed files with 2 additions and 0 deletions
|
@ -651,6 +651,8 @@ bool Client::manage( bool isMapped, bool doNotShow, bool isInitial )
|
|||
// constructor has already set a value for us
|
||||
if ( session ) {
|
||||
desk = session->desktop;
|
||||
if ( desk <= 0 )
|
||||
desk = workspace()->currentDesktop();
|
||||
} else if ( desk <= 0 ) {
|
||||
// if this window is transient, ensure that it is opened on the
|
||||
// same window as its parent. this is necessary when an application
|
||||
|
|
Loading…
Reference in a new issue