diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2026-01-01 21:49:57 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-01 21:49:57 +0100 |
| commit | 31d3181e1ee91e338fb4fb8207d64b8d689310fc (patch) | |
| tree | 71b00156665fe38d755f130712156e5537220ee5 /src/desktop/rule/matchEngine/WorkspaceMatchEngine.cpp | |
| parent | 9b93d621b1019e8378b8a902edb7ba8dd8baf204 (diff) | |
dekstop/window: read static rules before guessing initial size if possible (#12783)
Diffstat (limited to 'src/desktop/rule/matchEngine/WorkspaceMatchEngine.cpp')
| -rw-r--r-- | src/desktop/rule/matchEngine/WorkspaceMatchEngine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/desktop/rule/matchEngine/WorkspaceMatchEngine.cpp b/src/desktop/rule/matchEngine/WorkspaceMatchEngine.cpp index abaa1657..fea5c384 100644 --- a/src/desktop/rule/matchEngine/WorkspaceMatchEngine.cpp +++ b/src/desktop/rule/matchEngine/WorkspaceMatchEngine.cpp @@ -8,5 +8,5 @@ CWorkspaceMatchEngine::CWorkspaceMatchEngine(const std::string& s) : m_value(s) } bool CWorkspaceMatchEngine::match(PHLWORKSPACE ws) { - return ws->matchesStaticSelector(m_value); + return ws && ws->matchesStaticSelector(m_value); } |
