aboutsummaryrefslogtreecommitdiff
path: root/src/Workspace.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/Workspace.hh')
-rw-r--r--src/Workspace.hh10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/Workspace.hh b/src/Workspace.hh
index 135ac4d..ffcde8a 100644
--- a/src/Workspace.hh
+++ b/src/Workspace.hh
@@ -42,8 +42,8 @@ class FluxboxWindow;
42class WinClient; 42class WinClient;
43 43
44/** 44/**
45 Handles a single workspace 45 * Handles a single workspace
46*/ 46 */
47class Workspace:private FbTk::NotCopyable, private FbTk::Observer { 47class Workspace:private FbTk::NotCopyable, private FbTk::Observer {
48public: 48public:
49 typedef std::vector<FluxboxWindow *> Windows; 49 typedef std::vector<FluxboxWindow *> Windows;
@@ -54,13 +54,17 @@ public:
54 54
55 void setLastFocusedWindow(FluxboxWindow *w); 55 void setLastFocusedWindow(FluxboxWindow *w);
56 56
57 /// Set workspace name 57 /// Set workspace name
58 void setName(const std::string &name); 58 void setName(const std::string &name);
59 /// Deiconify all windows on this workspace
59 void showAll(); 60 void showAll();
60 void hideAll(bool interrupt_moving); 61 void hideAll(bool interrupt_moving);
62 /// Iconify all windows on this workspace
61 void removeAll(); 63 void removeAll();
62 void reconfigure(); 64 void reconfigure();
63 void shutdown(); 65 void shutdown();
66
67 /// Add @a win to this workspace, placing it if @a place is true
64 void addWindow(FluxboxWindow &win, bool place = false); 68 void addWindow(FluxboxWindow &win, bool place = false);
65 int removeWindow(FluxboxWindow *win, bool still_alive); 69 int removeWindow(FluxboxWindow *win, bool still_alive);
66 void updateClientmenu(); 70 void updateClientmenu();