aboutsummaryrefslogtreecommitdiff
path: root/src/ClientPattern.hh
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-08-20 12:26:12 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-08-20 12:26:12 (GMT)
commit4bf00f68573f3ad172b879e78ad441e74a916e66 (patch)
treea79a73aec7b643f0252d1f678e0a8c1703070576 /src/ClientPattern.hh
parent0fea3e3c8640888e4ae6e76775f309f290134aab (diff)
downloadfluxbox-4bf00f68573f3ad172b879e78ad441e74a916e66.zip
fluxbox-4bf00f68573f3ad172b879e78ad441e74a916e66.tar.bz2
fix match limits in apps file, plus some documentation
Diffstat (limited to 'src/ClientPattern.hh')
-rw-r--r--src/ClientPattern.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ClientPattern.hh b/src/ClientPattern.hh
index 611adeb..4e25cb5 100644
--- a/src/ClientPattern.hh
+++ b/src/ClientPattern.hh
@@ -74,6 +74,8 @@ public:
74 bool addTerm(const std::string &str, WinProperty prop, bool negate = false); 74 bool addTerm(const std::string &str, WinProperty prop, bool negate = false);
75 75
76 void addMatch() { ++m_nummatches; } 76 void addMatch() { ++m_nummatches; }
77 void removeMatch() { --m_nummatches; }
78 void resetMatches() { m_nummatches = 0; }
77 79
78 // whether this pattern has identical matching criteria 80 // whether this pattern has identical matching criteria
79 bool operator ==(const ClientPattern &pat) const; 81 bool operator ==(const ClientPattern &pat) const;