summaryrefslogtreecommitdiff
path: root/src/window.cpp
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@opencompositing.org>2008-08-14 13:56:14 +0200
committerDennis kasprzyk <onestone@opencompositing.org>2008-08-14 13:56:14 +0200
commitfa7e9361989282eddfc3012ffc392fadebf2b3c5 (patch)
tree9f9d6926eae7c793e4b9e878da65406e872b754a /src/window.cpp
parentc9b8f6dff3c7457f5e05802335327200fa169110 (diff)
downloadzcomp-fa7e9361989282eddfc3012ffc392fadebf2b3c5.tar.gz
zcomp-fa7e9361989282eddfc3012ffc392fadebf2b3c5.tar.bz2
Implementation of CompMatch as C++ class.
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)