ClientMatcher: remove String cast

This commit is contained in:
Peter Fajdiga
2023-08-29 22:09:05 +02:00
parent 10718bc2c7
commit 201dd4463e

View File

@@ -6,7 +6,7 @@ class ClientMatcher {
}
public matches(kwinClient: AbstractClient) {
const rule = this.rules.get(String(kwinClient.resourceClass));
const rule = this.rules.get(kwinClient.resourceClass);
if (rule === undefined) {
return false;
}