Rules: make WindowRole matching case sensitive

required by KWindowInfo forwarding
BUG: 343709
FIXED-IN: 5.2.1
REVIEW: 122407
remotes/origin/Plasma/5.2
Thomas Lübking 11 years ago
parent 49fa157f0f
commit 4f7edb8d74
  1. 2
      rules.cpp

@ -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));

Loading…
Cancel
Save