--Boundary-00=_u9MaKj742vdNFyS Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit attached... can please so test and commit or permit me to? Regards, Thomas --Boundary-00=_u9MaKj742vdNFyS Content-Type: text/x-patch; charset="UTF-8"; name="bug167138.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="bug167138.diff" Index: activation.cpp =================================================================== --- activation.cpp (Revision 996638) +++ activation.cpp (Arbeitskopie) @@ -861,6 +861,8 @@ if ( active == act ) return; active = act; + const int ruledOpacity = active ? rules()->checkOpacityActive(opacity()*100) : rules()->checkOpacityInactive(opacity()*100); + setOpacity( ruledOpacity/100.0 ); workspace()->setActiveClient( act ? this : NULL, Allowed ); if ( active ) Index: rules.cpp =================================================================== --- rules.cpp (Revision 996638) +++ rules.cpp (Arbeitskopie) @@ -853,7 +853,12 @@ setShortcut( rules()->checkShortcut( shortcut().toString())); // see also Client::setActive() if( isActive()) + { + setOpacity( rules()->checkOpacityActive(opacity()*100)/100.0 ); workspace()->disableGlobalShortcutsForClient( rules()->checkDisableGlobalShortcuts( false )); + } + else + setOpacity( rules()->checkOpacityInactive(opacity()*100)/100.0 ); } void Client::updateWindowRules() Index: effects.cpp =================================================================== --- effects.cpp (Revision 996638) +++ effects.cpp (Arbeitskopie) @@ -210,6 +210,8 @@ void EffectsHandlerImpl::windowOpacityChanged( EffectWindow* c, double old_opacity ) { + if (!c) + return; if( static_cast(c)->window()->opacity() == old_opacity ) return; foreach( const EffectPair &ep, loaded_effects ) --Boundary-00=_u9MaKj742vdNFyS Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kwin mailing list kwin@kde.org https://mail.kde.org/mailman/listinfo/kwin --Boundary-00=_u9MaKj742vdNFyS--