more state/mask confusion
svn path=/trunk/kdebase/kwin/; revision=71153
This commit is contained in:
parent
9c5a135b26
commit
5b8bc65b2b
1 changed files with 4 additions and 3 deletions
|
@ -77,9 +77,10 @@ public:
|
|||
m_client->maximize( Client::MaximizeRestore );
|
||||
}
|
||||
|
||||
if ( ( mask & NET::StaysOnTop) != 0 && (state & NET::StaysOnTop) != 0 ) {
|
||||
m_client->setStaysOnTop( state & NET::StaysOnTop );
|
||||
m_client->workspace()->raiseClient( m_client );
|
||||
if ( mask & NET::StaysOnTop) {
|
||||
m_client->setStaysOnTop( (state & NET::StaysOnTop) != 0 );
|
||||
if ( m_client->staysOnTop() )
|
||||
m_client->workspace()->raiseClient( m_client );
|
||||
}
|
||||
}
|
||||
private:
|
||||
|
|
Loading…
Reference in a new issue