Rules: make WindowRole matching case sensitive

required by KWindowInfo forwarding
BUG: 343709
FIXED-IN: 5.2.1
REVIEW: 122407
This commit is contained in:
Thomas Lübking 2015-02-03 16:35:19 +01:00
parent 49fa157f0f
commit 4f7edb8d74

View file

@ -141,7 +141,7 @@ void Rules::readFromCfg(const KConfigGroup& cfg)
description = cfg.readEntry("description");
READ_MATCH_STRING(wmclass, .toLower().toLatin1());
wmclasscomplete = cfg.readEntry("wmclasscomplete" , false);
READ_MATCH_STRING(windowrole, .toLower().toLatin1());
READ_MATCH_STRING(windowrole, .toLatin1());
READ_MATCH_STRING(title,);
READ_MATCH_STRING(clientmachine, .toLower().toLatin1());
types = NET::WindowTypeMask(cfg.readEntry<uint>("types", NET::AllTypesMask));