aboutsummaryrefslogtreecommitdiff
path: root/src/Workspace.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-01-20 02:08:12 (GMT)
committerfluxgen <fluxgen>2002-01-20 02:08:12 (GMT)
commit6c10acb3cb57a6038202e8967ecd64ac234d0075 (patch)
treee4788a4c4c7cfe9d3f238fcc0a30a8af5c2463da /src/Workspace.hh
parent5a0014f4105787ef57c0ea6f17d45a98c1bf5e76 (diff)
downloadfluxbox_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.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