X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Frootwindow.hh;h=5ff386e1dd99254afc5532ce0723e7cb8ef02f19;hb=056ff3b50cddd39b6f45969c17611dc3bf396ae9;hp=c05bfd7b25993cd965b60c4d06c1cac8696c7d45;hpb=25d1e3538be5719b238f7e62a949c409fef2af66;p=chaz%2Fopenbox diff --git a/src/rootwindow.hh b/src/rootwindow.hh index c05bfd7b..5ff386e1 100644 --- a/src/rootwindow.hh +++ b/src/rootwindow.hh @@ -18,6 +18,7 @@ extern "C" { #include #include +#include "widget.hh" #include "otk/screeninfo.hh" #include "otk/eventhandler.hh" #include "otk/property.hh" @@ -32,7 +33,7 @@ namespace ob {

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)