#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
*/
#include <string>
#include <vector>
+#include "widget.hh"
#include "otk/screeninfo.hh"
#include "otk/eventhandler.hh"
#include "otk/property.hh"
<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;
//! Destroys the OBRootWindow object
virtual ~OBRootWindow();
- virtual void propertyHandler(const XPropertyEvent &e);
-
- virtual void clientMessageHandler(const XClientMessageEvent &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 &);
};
}