More debug output.
svn path=/trunk/kdebase/kwin/; revision=254812
This commit is contained in:
parent
79796b2fb7
commit
80376961fc
1 changed files with 10 additions and 3 deletions
13
group.cpp
13
group.cpp
|
@ -500,10 +500,17 @@ Window Client::verifyTransientFor( Window new_transient_for, bool defined )
|
|||
break;
|
||||
new_transient_for = parent_return;
|
||||
}
|
||||
if( !workspace()->findClient( WindowMatchPredicate( new_transient_for )))
|
||||
new_transient_for = before_search; // nice try
|
||||
if( Client* new_transient_for_client = workspace()->findClient( WindowMatchPredicate( new_transient_for )))
|
||||
{
|
||||
if( new_transient_for != before_search )
|
||||
{
|
||||
kdDebug( 1212 ) << "Client " << this << " has WM_TRANSIENT_FOR poiting to non-toplevel window "
|
||||
<< before_search << ", child of " << new_transient_for_client << ", adjusting." << endl;
|
||||
new_property_value = new_transient_for; // also fix the property
|
||||
}
|
||||
}
|
||||
else
|
||||
new_property_value = new_transient_for; // also fix the property
|
||||
new_transient_for = before_search; // nice try
|
||||
// loop detection
|
||||
// group transients cannot cause loops, because they're considered transient only for non-transient
|
||||
// windows in the group
|
||||
|
|
Loading…
Reference in a new issue