aboutsummaryrefslogtreecommitdiff
path: root/src/FocusableList.hh
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2008-08-14 05:52:39 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2008-08-14 05:52:39 (GMT)
commite169d33552c8e7070aa6e13da0187f2013b4cfc3 (patch)
treeae9e92c7e885791c7f47645184070cbcd441ab94 /src/FocusableList.hh
parentc82e7c0080f8a5c14dcf95ec92dc42f59ea9dd8b (diff)
parent91ca3bc5c8e2b892a9a81b18246f72aba7deebfd (diff)
downloadfluxbox_pavel-e169d33552c8e7070aa6e13da0187f2013b4cfc3.zip
fluxbox_pavel-e169d33552c8e7070aa6e13da0187f2013b4cfc3.tar.bz2
Merge branch 'master' into to_push
Diffstat (limited to 'src/FocusableList.hh')
-rw-r--r--src/FocusableList.hh5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/FocusableList.hh b/src/FocusableList.hh
index 91eb6a4..a72e2f0 100644
--- a/src/FocusableList.hh
+++ b/src/FocusableList.hh
@@ -30,6 +30,7 @@
30 30
31#include <list> 31#include <list>
32#include <string> 32#include <string>
33#include <memory>
33 34
34class BScreen; 35class BScreen;
35class Focusable; 36class Focusable;
@@ -41,7 +42,7 @@ public:
41 /// list option bits 42 /// list option bits
42 enum { 43 enum {
43 LIST_GROUPS = 0x01, //< list groups instead of clients 44 LIST_GROUPS = 0x01, //< list groups instead of clients
44 STATIC_ORDER = 0x02, ///< use creation order instead of focused order 45 STATIC_ORDER = 0x02 ///< use creation order instead of focused order
45 }; 46 };
46 47
47 FocusableList(BScreen &scr): m_pat(0), m_parent(0), m_screen(scr) { } 48 FocusableList(BScreen &scr): m_pat(0), m_parent(0), m_screen(scr) { }
@@ -69,6 +70,8 @@ public:
69 bool empty() const { return m_list.empty(); } 70 bool empty() const { return m_list.empty(); }
70 /// does the list contain the given window? 71 /// does the list contain the given window?
71 bool contains(const Focusable &win) const; 72 bool contains(const Focusable &win) const;
73 /// find the first window matching the pattern
74 Focusable *find(const ClientPattern &pattern) const;
72 75
73 /** 76 /**
74 @name signals 77 @name signals