From 7175ac2b5aec7aface6a2f86df32dd0386e0cc05 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 7 Jan 2003 01:54:26 +0000 Subject: windows stay on their desktops --- src/screen.hh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/screen.hh') 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. /*! -- cgit v1.2.3