summaryrefslogtreecommitdiff
path: root/src/screen.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-07 01:54:26 +0000
committerDana Jansens <danakj@orodu.net>2003-01-07 01:54:26 +0000
commit7175ac2b5aec7aface6a2f86df32dd0386e0cc05 (patch)
treead4554e7601d4cab192f9d03defc51f4503c87b9 /src/screen.hh
parentf71a1fc7d2d7f3c860fe137427a534ddef09fd17 (diff)
windows stay on their desktops
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.
/*!