aboutsummaryrefslogtreecommitdiff
path: root/src/Workspace.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/Workspace.hh')
-rw-r--r--src/Workspace.hh9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/Workspace.hh b/src/Workspace.hh
index 9e621c3..08c5ad9 100644
--- a/src/Workspace.hh
+++ b/src/Workspace.hh
@@ -22,9 +22,10 @@
22#ifndef _WORKSPACE_HH_ 22#ifndef _WORKSPACE_HH_
23#define _WORKSPACE_HH_ 23#define _WORKSPACE_HH_
24 24
25#include "LinkedList.hh"
26#include <X11/Xlib.h> 25#include <X11/Xlib.h>
27#include <string> 26#include <string>
27#include <vector>
28#include <list>
28 29
29class BScreen; 30class BScreen;
30class Clientmenu; 31class Clientmenu;
@@ -38,7 +39,11 @@ private:
38 FluxboxWindow *lastfocus; 39 FluxboxWindow *lastfocus;
39 Clientmenu *clientmenu; 40 Clientmenu *clientmenu;
40 41
41 LinkedList<FluxboxWindow> *stackingList, *windowList; 42 typedef std::list<FluxboxWindow *> WindowStack;
43 typedef std::vector<FluxboxWindow *> Windows;
44
45 WindowStack stackingList;
46 Windows windowList;
42 47
43 std::string name; 48 std::string name;
44 int id, cascade_x, cascade_y; 49 int id, cascade_x, cascade_y;