diff options
Diffstat (limited to 'src/Workspace.hh')
-rw-r--r-- | src/Workspace.hh | 8 |
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 | ||
27 | class BScreen; | 29 | class BScreen; |
28 | class Clientmenu; | 30 | class Clientmenu; |
29 | class Workspace; | 31 | class Workspace; |
30 | class FluxboxWindow; | 32 | class FluxboxWindow; |
31 | 33 | ||
32 | #include "LinkedList.hh" | ||
33 | |||
34 | 34 | ||
35 | class Workspace { | 35 | class Workspace { |
36 | private: | 36 | private: |
@@ -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 | ||