diff options
Diffstat (limited to 'src/Workspace.hh')
-rw-r--r-- | src/Workspace.hh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Workspace.hh b/src/Workspace.hh index 613626b..50bac87 100644 --- a/src/Workspace.hh +++ b/src/Workspace.hh | |||
@@ -38,6 +38,7 @@ | |||
38 | 38 | ||
39 | class BScreen; | 39 | class BScreen; |
40 | class FluxboxWindow; | 40 | class FluxboxWindow; |
41 | class WinClient; | ||
41 | 42 | ||
42 | /** | 43 | /** |
43 | Handles a single workspace | 44 | Handles a single workspace |
@@ -62,8 +63,9 @@ public: | |||
62 | void update(); | 63 | void update(); |
63 | void setCurrent(); | 64 | void setCurrent(); |
64 | void shutdown(); | 65 | void shutdown(); |
65 | int addWindow(FluxboxWindow *win, bool place = false); | 66 | int addWindow(FluxboxWindow &win, bool place = false); |
66 | int removeWindow(FluxboxWindow *win); | 67 | int removeWindow(FluxboxWindow *win); |
68 | void removeWindow(WinClient &client); | ||
67 | BScreen &getScreen() { return screen; } | 69 | BScreen &getScreen() { return screen; } |
68 | FluxboxWindow *getLastFocusedWindow() { return lastfocus; } | 70 | FluxboxWindow *getLastFocusedWindow() { return lastfocus; } |
69 | 71 | ||
@@ -92,7 +94,7 @@ public: | |||
92 | void checkGrouping(FluxboxWindow &win); | 94 | void checkGrouping(FluxboxWindow &win); |
93 | static bool loadGroups(const std::string &filename); | 95 | static bool loadGroups(const std::string &filename); |
94 | protected: | 96 | protected: |
95 | void placeWindow(FluxboxWindow *win); | 97 | void placeWindow(FluxboxWindow &win); |
96 | 98 | ||
97 | private: | 99 | private: |
98 | void updateClientmenu(); | 100 | void updateClientmenu(); |