Reverse order of resource name and resource class in WM_CLASS in order
to match what xprop says. svn path=/trunk/kdebase/kwin/; revision=319366
This commit is contained in:
parent
45bdac8953
commit
e27084eb80
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ bool WindowRules::match( const Client* c ) const
|
|||
if( !wmclass.isEmpty())
|
||||
{ // TODO optimize?
|
||||
QCString cwmclass = wmclasscomplete
|
||||
? c->resourceClass() + ' ' + c->resourceName() : c->resourceClass();
|
||||
? c->resourceName() + ' ' + c->resourceClass() : c->resourceClass();
|
||||
if( wmclassregexp && !QRegExp( wmclass ).exactMatch( cwmclass ))
|
||||
return false;
|
||||
if( !wmclassregexp && wmclass != cwmclass )
|
||||
|
|
Loading…
Reference in a new issue