aboutsummaryrefslogtreecommitdiff
path: root/src/Workspace.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-04-14 15:01:55 (GMT)
committerfluxgen <fluxgen>2003-04-14 15:01:55 (GMT)
commit2928b32f3a399527113325de3db39cd75db4ee8e (patch)
tree53c9d8e3676e35a200314df700344ef2711fb7b4 /src/Workspace.hh
parentb6ca956c821e1e968dda10ee7852c6933b549b08 (diff)
downloadfluxbox-2928b32f3a399527113325de3db39cd75db4ee8e.zip
fluxbox-2928b32f3a399527113325de3db39cd75db4ee8e.tar.bz2
merged with embedded-tab-branch
Diffstat (limited to 'src/Workspace.hh')
-rw-r--r--src/Workspace.hh6
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
39class BScreen; 39class BScreen;
40class FluxboxWindow; 40class FluxboxWindow;
41class 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);
94protected: 96protected:
95 void placeWindow(FluxboxWindow *win); 97 void placeWindow(FluxboxWindow &win);
96 98
97private: 99private:
98 void updateClientmenu(); 100 void updateClientmenu();