Closed laloch closed 4 years ago
Is there a danger of clients being accidentally matched by name?
Is there e.g. a filemanager that changes its name to the directory it's in, so e.g. it goes into a directory called "steam" and is then matched by the user's "steam" rule?
Or am I overthinking this?
Is there e.g. a filemanager that changes its name to the directory it's in
dolphin has an option for this, but it is disabled by default
WM_NAME
is not the same as WM_CLASS.resName
.
We could also match both, e.g. "resourceName:resourceClass", to be completely sure.
You know what? Let's just try it.
I can't think of an immediate problem case, so let's see if anything happens in practice.
WM_CLASS consists of two strings -
resourceClass
andresourceName
. This makes us match our floaters list against both of them instead of onlyresourceClass
.Closes #221