RR.3997, make windowtype rule operative
svn path=/trunk/KDE/kdebase/workspace/; revision=1127821
This commit is contained in:
parent
34b16a72e7
commit
5d2157060d
1 changed files with 1 additions and 3 deletions
|
@ -156,9 +156,7 @@ NET::WindowType Toplevel::windowType( bool direct, int supported_types ) const
|
|||
if( direct )
|
||||
return wt;
|
||||
const Client* cl = dynamic_cast< const Client* >( this );
|
||||
// TODO
|
||||
//NET::WindowType wt2 = rules()->checkType( wt );
|
||||
NET::WindowType wt2 = wt;
|
||||
NET::WindowType wt2 = cl ? cl->rules()->checkType( wt ) : wt;
|
||||
if( wt != wt2 )
|
||||
{
|
||||
wt = wt2;
|
||||
|
|
Loading…
Reference in a new issue