namespace ob {
OBRootWindow::OBRootWindow(int screen)
- : _info(otk::OBDisplay::screenInfo(screen))
+ : OBWidget(OBWidget::Type_Root),
+ _info(otk::OBDisplay::screenInfo(screen))
{
updateDesktopNames();
#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;