aboutsummaryrefslogtreecommitdiff
path: root/src/Workspace.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-11-15 12:17:03 (GMT)
committerfluxgen <fluxgen>2002-11-15 12:17:03 (GMT)
commit68aeecad1dcb59a5197d9a678b71347a73652eeb (patch)
treeb968e33508551ad73881d129f9ab067cf6f98f36 /src/Workspace.hh
parentadb2f2aed629505fa8f58232da375d0fc5b85064 (diff)
downloadfluxbox-68aeecad1dcb59a5197d9a678b71347a73652eeb.zip
fluxbox-68aeecad1dcb59a5197d9a678b71347a73652eeb.tar.bz2
comments
Diffstat (limited to 'src/Workspace.hh')
-rw-r--r--src/Workspace.hh16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/Workspace.hh b/src/Workspace.hh
index 61abe9c..48698ab 100644
--- a/src/Workspace.hh
+++ b/src/Workspace.hh
@@ -25,16 +25,18 @@
25#ifndef WORKSPACE_HH 25#ifndef WORKSPACE_HH
26#define WORKSPACE_HH 26#define WORKSPACE_HH
27 27
28
28#include "Clientmenu.hh" 29#include "Clientmenu.hh"
29#include "Window.hh"
30#include "NotCopyable.hh" 30#include "NotCopyable.hh"
31 31
32#include <X11/Xlib.h> 32#include <X11/Xlib.h>
33
33#include <string> 34#include <string>
34#include <vector> 35#include <vector>
35#include <list> 36#include <list>
36 37
37class BScreen; 38class BScreen;
39class FluxboxWindow;
38 40
39/** 41/**
40 Handles a single workspace 42 Handles a single workspace
@@ -68,14 +70,10 @@ public:
68 70
69 const BScreen *getScreen() const { return screen; } 71 const BScreen *getScreen() const { return screen; }
70 const FluxboxWindow *getLastFocusedWindow() const { return lastfocus; } 72 const FluxboxWindow *getLastFocusedWindow() const { return lastfocus; }
71 Clientmenu *menu() { return &m_clientmenu; } 73 Clientmenu &menu() { return m_clientmenu; }
72 /** 74 /// client menu
73 @return client menu 75 inline const Clientmenu &menu() const { return m_clientmenu; }
74 */ 76 /// name of this workspace
75 inline const Clientmenu *menu() const { return &m_clientmenu; }
76 /**
77 @return name of this workspace
78 */
79 inline const std::string &name() const { return m_name; } 77 inline const std::string &name() const { return m_name; }
80 /** 78 /**
81 @return the number of this workspace, note: obsolete, should be in BScreen 79 @return the number of this workspace, note: obsolete, should be in BScreen