]> Dogcows Code - chaz/openbox/blobdiff - src/rootwindow.hh
keep track of desktops...
[chaz/openbox] / src / rootwindow.hh
index c05bfd7b25993cd965b60c4d06c1cac8696c7d45..241b35c3698c6f4c385e6928c1fb1e208556560b 100644 (file)
@@ -18,6 +18,7 @@ extern "C" {
 #include <string>
 #include <vector>
 
+#include "widget.hh"
 #include "otk/screeninfo.hh"
 #include "otk/eventhandler.hh"
 #include "otk/property.hh"
@@ -32,7 +33,7 @@ namespace ob {
   <p>
   OBRootWindow also manages client messages for the root window.
 */
-class OBRootWindow : public otk::OtkEventHandler {
+class OBRootWindow : public otk::OtkEventHandler, public OBWidget {
 private:
   //! Information about this screen
   const otk::ScreenInfo *_info;
@@ -52,6 +53,9 @@ public:
   //! Destroys the OBRootWindow object
   virtual ~OBRootWindow();
 
+  //! Sets the name of all desktops
+  void setDesktopNames(const otk::OBProperty::StringVect &names);
+  
   //! Sets the name of a desktop
   /*!
     @param i The index of the desktop to set the name for (base 0)
@@ -61,7 +65,7 @@ public:
 
   virtual void propertyHandler(const XPropertyEvent &e);
   virtual void clientMessageHandler(const XClientMessageEvent &e);
-  virtual void mapRequestHandler(const XMapRequestEvent &);
+  virtual void mapRequestHandler(const XMapRequestEvent &e);
 };
 
 }
This page took 0.023125 seconds and 4 git commands to generate.