aboutsummaryrefslogtreecommitdiff
path: root/src/Workspace.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/Workspace.hh')
-rw-r--r--src/Workspace.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Workspace.hh b/src/Workspace.hh
index 17de03c..9e621c3 100644
--- a/src/Workspace.hh
+++ b/src/Workspace.hh
@@ -22,15 +22,15 @@
22#ifndef _WORKSPACE_HH_ 22#ifndef _WORKSPACE_HH_
23#define _WORKSPACE_HH_ 23#define _WORKSPACE_HH_
24 24
25#include "LinkedList.hh"
25#include <X11/Xlib.h> 26#include <X11/Xlib.h>
27#include <string>
26 28
27class BScreen; 29class BScreen;
28class Clientmenu; 30class Clientmenu;
29class Workspace; 31class Workspace;
30class FluxboxWindow; 32class FluxboxWindow;
31 33
32#include "LinkedList.hh"
33
34 34
35class Workspace { 35class Workspace {
36private: 36private:
@@ -40,7 +40,7 @@ private:
40 40
41 LinkedList<FluxboxWindow> *stackingList, *windowList; 41 LinkedList<FluxboxWindow> *stackingList, *windowList;
42 42
43 char *name; 43 std::string name;
44 int id, cascade_x, cascade_y; 44 int id, cascade_x, cascade_y;
45 45
46 46
@@ -58,7 +58,7 @@ public:
58 58
59 inline Clientmenu *getMenu(void) { return clientmenu; } 59 inline Clientmenu *getMenu(void) { return clientmenu; }
60 60
61 inline const char *getName(void) const { return name; } 61 inline const char *getName(void) const { return name.c_str(); }
62 62
63 inline const int &getWorkspaceID(void) const { return id; } 63 inline const int &getWorkspaceID(void) const { return id; }
64 64