summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorErkin Bahceci <erkinbah@gmail.com>2009-06-02 13:47:51 -0500
committerErkin Bahceci <erkinbah@gmail.com>2009-06-02 13:47:51 -0500
commitf06dcdd357a2490bdc956d100626fe35b2dc9e30 (patch)
treeaa03a59ded2733af72c187b43a68b5341ef306e7 /include
parent3de0e9bf85faa975aa18426eff0eaed9d7f97575 (diff)
downloadzcomp-f06dcdd357a2490bdc956d100626fe35b2dc9e30.tar.gz
zcomp-f06dcdd357a2490bdc956d100626fe35b2dc9e30.tar.bz2
Separate clientList. Add clientList accessor.
Diffstat (limited to 'include')
-rw-r--r--include/core/screen.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/core/screen.h b/include/core/screen.h
index 05cf9ec..41c9b6c 100644
--- a/include/core/screen.h
+++ b/include/core/screen.h
@@ -39,6 +39,7 @@
class CompScreen;
class PrivateScreen;
typedef std::list<CompWindow *> CompWindowList;
+typedef std::vector<CompWindow *> CompWindowVector;
extern char *backgroundImage;
extern bool replaceCurrentWm;
@@ -253,6 +254,8 @@ class CompScreen :
bool grabExist (const char *);
+ const CompWindowVector & clientList (bool stackingOrder = true);
+
bool addAction (CompAction *action);
void removeAction (CompAction *action);