config/rule: don't populate ID field for automatically id-managed workspaces

This commit is contained in:
Vaxry 2025-10-27 21:29:35 +00:00
parent 40831a90a0
commit 431325ff0c
No known key found for this signature in database
GPG key ID: 665806380871D640
6 changed files with 19 additions and 12 deletions

View file

@ -118,7 +118,7 @@ bool CWorkspace::matchesStaticSelector(const std::string& selector_) {
return true;
if (isNumber(selector)) {
const auto& [wsid, wsname] = getWorkspaceIDNameFromString(selector);
const auto& [wsid, wsname, isAutoID] = getWorkspaceIDNameFromString(selector);
if (wsid == WORKSPACE_INVALID)
return false;