summaryrefslogtreecommitdiff
path: root/src/rootwindow.cc
blob: 0b7de57d39e73361970570fbf6dd5c6ba15cd849 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-

#ifdef HAVE_CONFIG_H
# include "../config.h"
#endif

#include "rootwindow.hh"
#include "openbox.hh"
#include "screen.hh"
#include "client.hh"
#include "otk/display.hh"

namespace ob {

OBRootWindow::OBRootWindow(int screen)
  : OBWidget(OBWidget::Type_Root),
    _info(otk::OBDisplay::screenInfo(screen))
{
  updateDesktopNames();

  Openbox::instance->registerHandler(_info->rootWindow(), this);
}


OBRootWindow::~OBRootWindow()
{
}





}