X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FScreen.h;h=851c45dd77d9772f87d3cbea9b44120cd14de0c6;hb=8d3c97389f23271c7b44a726111c97d34bc2ced2;hp=1bf2a8cd8e2c5a691980473ef3db212b489a69e8;hpb=6ea740cd0e76ed9da89a872d047342fafd733c32;p=chaz%2Fopenbox diff --git a/src/Screen.h b/src/Screen.h index 1bf2a8cd..851c45dd 100644 --- a/src/Screen.h +++ b/src/Screen.h @@ -52,6 +52,8 @@ #endif // SLIT #include "Image.h" +#include + // forward declaration class BScreen; @@ -239,7 +241,7 @@ public: inline const int getCurrentWorkspaceID() { return current_workspace->getWorkspaceID(); } - inline const int getCount(void) { return workspacesList->count(); } + inline const int getWorkspaceCount(void) { return workspacesList->count(); } inline const int getIconCount(void) { return iconList->count(); } inline const int &getNumberOfWorkspaces(void) const { return resource.workspaces; }