diff options
-rw-r--r-- | src/Workspace.hh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Workspace.hh b/src/Workspace.hh index e461bd5..0c2b1cb 100644 --- a/src/Workspace.hh +++ b/src/Workspace.hh | |||
@@ -42,7 +42,8 @@ class BScreen; | |||
42 | class Workspace:private NotCopyable { | 42 | class Workspace:private NotCopyable { |
43 | public: | 43 | public: |
44 | typedef std::vector<FluxboxWindow *> Windows; | 44 | typedef std::vector<FluxboxWindow *> Windows; |
45 | 45 | typedef std::vector<Window> Stack; | |
46 | |||
46 | Workspace(BScreen *screen, unsigned int workspaceid = 0); | 47 | Workspace(BScreen *screen, unsigned int workspaceid = 0); |
47 | ~Workspace(); | 48 | ~Workspace(); |
48 | 49 | ||
@@ -98,7 +99,9 @@ protected: | |||
98 | void placeWindow(FluxboxWindow *win); | 99 | void placeWindow(FluxboxWindow *win); |
99 | 100 | ||
100 | private: | 101 | private: |
101 | 102 | ||
103 | void raiseAndFillStack(Stack::iterator &it, const FluxboxWindow &win); | ||
104 | void lowerAndFillStack(Stack::iterator &it, const FluxboxWindow &win); | ||
102 | 105 | ||
103 | BScreen *screen; | 106 | BScreen *screen; |
104 | FluxboxWindow *lastfocus; | 107 | FluxboxWindow *lastfocus; |