more state/mask confusion

svn path=/trunk/kdebase/kwin/; revision=71153
This commit is contained in:
Matthias Ettrich 2000-11-17 14:18:44 +00:00
parent 9c5a135b26
commit 5b8bc65b2b

View file

@ -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: