]> Dogcows Code - chaz/openbox/blobdiff - src/screen.hh
add python.hh to the openbox.i deps
[chaz/openbox] / src / screen.hh
index aea9d2936511d410baadba3ac673fc809c8e5a3c..f27e41f1f4fced166a3ca12ea920302b1177835a 100644 (file)
@@ -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.
   /*!
This page took 0.020259 seconds and 4 git commands to generate.