keep track of desktops...
[mikachu/openbox.git] / src / rootwindow.cc
1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
2
3 #ifdef HAVE_CONFIG_H
4 # include "../config.h"
5 #endif
6
7 #include "rootwindow.hh"
8 #include "openbox.hh"
9 #include "screen.hh"
10 #include "client.hh"
11 #include "otk/display.hh"
12
13 namespace ob {
14
15 OBRootWindow::OBRootWindow(int screen)
16   : OBWidget(OBWidget::Type_Root),
17     _info(otk::OBDisplay::screenInfo(screen))
18 {
19   updateDesktopNames();
20
21   Openbox::instance->registerHandler(_info->rootWindow(), this);
22 }
23
24
25 OBRootWindow::~OBRootWindow()
26 {
27 }
28
29
30
31
32
33 }