aboutsummaryrefslogtreecommitdiff
path: root/src/Workspace.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/Workspace.hh')
-rw-r--r--src/Workspace.hh11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/Workspace.hh b/src/Workspace.hh
index dd41281..d53420d 100644
--- a/src/Workspace.hh
+++ b/src/Workspace.hh
@@ -39,20 +39,20 @@ class Workspace {
39public: 39public:
40 typedef std::vector<FluxboxWindow *> Windows; 40 typedef std::vector<FluxboxWindow *> Windows;
41 41
42 Workspace(BScreen *, int = 0); 42 Workspace(BScreen *, unsigned int = 0);
43 ~Workspace(void); 43 ~Workspace(void);
44 44
45 inline BScreen *getScreen(void) { return screen; } 45 inline BScreen *getScreen(void) { return screen; }
46 inline FluxboxWindow *getLastFocusedWindow(void) { return lastfocus; } 46 inline FluxboxWindow *getLastFocusedWindow(void) { return lastfocus; }
47 inline Clientmenu *getMenu(void) { return clientmenu; } 47 inline Clientmenu *getMenu(void) { return clientmenu; }
48 inline const char *getName(void) const { return name.c_str(); } 48 inline const char *getName(void) const { return name.c_str(); }
49 inline const int &getWorkspaceID(void) const { return id; } 49 inline const unsigned int getWorkspaceID(void) const { return id; }
50 inline void setLastFocusedWindow(FluxboxWindow *w) { lastfocus = w; } 50 inline void setLastFocusedWindow(FluxboxWindow *w) { lastfocus = w; }
51 FluxboxWindow *getWindow(int); 51 FluxboxWindow *getWindow(unsigned int id);
52 inline Windows &getWindowList() { return windowList; } 52 inline Windows &getWindowList() { return windowList; }
53 bool isCurrent(void); 53 bool isCurrent(void);
54 bool isLastWindow(FluxboxWindow *); 54 bool isLastWindow(FluxboxWindow *);
55 const int addWindow(FluxboxWindow *, Bool = False); 55 const int addWindow(FluxboxWindow *, bool = False);
56 const int removeWindow(FluxboxWindow *); 56 const int removeWindow(FluxboxWindow *);
57 const int getCount(void); 57 const int getCount(void);
58 58
@@ -79,7 +79,8 @@ private:
79 Windows windowList; 79 Windows windowList;
80 80
81 std::string name; 81 std::string name;
82 int id, cascade_x, cascade_y; 82 unsigned int id;
83 int cascade_x, cascade_y;
83 84
84 85
85protected: 86protected: