summaryrefslogtreecommitdiff
path: root/src/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.cpp')
-rw-r--r--src/window.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.cpp b/src/window.cpp
index d0cbadb..3c1d656 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -3768,8 +3768,8 @@ PrivateWindow::isWindowFocusAllowed (Time timestamp)
}
/* allow focus for excluded windows */
- match = &s->getOption ("focus_prevention_match")->value.match;
- if (!matchEval (match, window))
+ match = s->getOption ("focus_prevention_match")->value.match;
+ if (!match->evaluate (window))
return true;
if (level == FOCUS_PREVENTION_LEVEL_VERYHIGH)