X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FWorkspace.h;h=146e1d628e0df5d72fbc31be0372360813905f3a;hb=1b1efab489353734f0047f97fe5fef7f96d0ee68;hp=21e65cec7d81cf715c6d84a0c427894a7f34db1c;hpb=f00ed578baacb73a36227fed1419e9d451ee7bb0;p=chaz%2Fopenbox diff --git a/src/Workspace.h b/src/Workspace.h index 21e65cec..146e1d62 100644 --- a/src/Workspace.h +++ b/src/Workspace.h @@ -68,15 +68,15 @@ public: inline BScreen &getScreen(void) { return screen; } inline Clientmenu *getMenu(void) { return clientmenu; } inline const char *getName(void) const { return name; } - inline const int &getWorkspaceID(void) const { return id; } + inline int getWorkspaceID(void) const { return id; } inline OpenboxWindow *focusedWindow() { return _focused; } inline OpenboxWindow *lastFocusedWindow() { return _last; } void focusWindow(OpenboxWindow *win); OpenboxWindow *getWindow(int); - Bool isCurrent(void); - const int addWindow(OpenboxWindow *, Bool = False); - const int removeWindow(OpenboxWindow *); - const int getCount(void); + bool isCurrent(void); + int addWindow(OpenboxWindow *, bool = false); + int removeWindow(OpenboxWindow *); + int getCount(void); void showAll(void); void hideAll(void); void removeAll(void);