X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Fscreen.hh;h=f27e41f1f4fced166a3ca12ea920302b1177835a;hb=7175ac2b5aec7aface6a2f86df32dd0386e0cc05;hp=aea9d2936511d410baadba3ac673fc809c8e5a3c;hpb=00e2c5aaad4a0831fd1e0d1b1c287df4d6eaac93;p=chaz%2Fopenbox diff --git a/src/screen.hh b/src/screen.hh index aea9d293..f27e41f1 100644 --- a/src/screen.hh +++ b/src/screen.hh @@ -141,7 +141,9 @@ public: //! An offscreen window which gets focus when nothing else has it inline Window focuswindow() const { return _focuswindow; } //! Returns the desktop being displayed - inline unsigned long desktop() const { return _desktop; } + inline long desktop() const { return _desktop; } + //! Returns the number of desktops + inline long numDesktops() const { return _num_desktops; } //! Update's the screen's combined strut of all the clients. /*!