diff options
author | fluxgen <fluxgen> | 2002-01-20 02:08:12 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-01-20 02:08:12 (GMT) |
commit | 6c10acb3cb57a6038202e8967ecd64ac234d0075 (patch) | |
tree | e4788a4c4c7cfe9d3f238fcc0a30a8af5c2463da /src/Workspace.hh | |
parent | 5a0014f4105787ef57c0ea6f17d45a98c1bf5e76 (diff) | |
download | fluxbox_pavel-6c10acb3cb57a6038202e8967ecd64ac234d0075.zip fluxbox_pavel-6c10acb3cb57a6038202e8967ecd64ac234d0075.tar.bz2 |
fixed workspace name to std string
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 | ||