X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Frootwindow.hh;h=5ff386e1dd99254afc5532ce0723e7cb8ef02f19;hb=7bae794382c7a64a6427b16d1339b98120a5166f;hp=35cda699cae79de10e9b80d1748e0fcfe08bfc80;hpb=9860b76c50e5ecacc85921539058eab4c655c38d;p=chaz%2Fopenbox diff --git a/src/rootwindow.hh b/src/rootwindow.hh index 35cda699..5ff386e1 100644 --- a/src/rootwindow.hh +++ b/src/rootwindow.hh @@ -2,7 +2,7 @@ #ifndef __rootwindow_hh #define __rootwindow_hh -/*! @file client.hh +/*! @file rootwindow.hh @brief The OBClient class maintains the state of a client window by handling property changes on the window and some client messages */ @@ -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) @@ -62,7 +66,6 @@ public: virtual void propertyHandler(const XPropertyEvent &e); virtual void clientMessageHandler(const XClientMessageEvent &e); virtual void mapRequestHandler(const XMapRequestEvent &); - virtual void configureRequestHandler(const XConfigureRequestEvent &e); }; }