summaryrefslogtreecommitdiff
path: root/src/screen.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen.hh')
-rw-r--r--src/screen.hh4
1 files changed, 3 insertions, 1 deletions
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.
/*!