X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Frootwindow.hh;h=180f239c5baeb301d9c6422931556237c97ec748;hb=7071b1f094f7b4b5e09ed329d13d2d1454a9cacf;hp=1dbfc04a7aefdbc472591d8debfc01980c701ece;hpb=1fa445c88033e564a25d907a7f478e76bff9e89e;p=chaz%2Fopenbox diff --git a/src/rootwindow.hh b/src/rootwindow.hh index 1dbfc04a..180f239c 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,20 +53,16 @@ public: //! Destroys the OBRootWindow object virtual ~OBRootWindow(); - virtual void propertyHandler(const XPropertyEvent &e); - - virtual void clientMessageHandler(const XClientMessageEvent &e); - - virtual void mapRequestHandler(const XMapRequestEvent &); - - virtual void configureRequestHandler(const XConfigureRequestEvent &e); - //! Sets the name of a desktop /*! @param i The index of the desktop to set the name for (base 0) @param name The name to set for the desktop */ void setDesktopName(int i, const std::string &name); + + virtual void propertyHandler(const XPropertyEvent &e); + virtual void clientMessageHandler(const XClientMessageEvent &e); + virtual void mapRequestHandler(const XMapRequestEvent &); }; }