summaryrefslogtreecommitdiff
path: root/src/screen.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-12-02 22:12:26 +0000
committerDana Jansens <danakj@orodu.net>2002-12-02 22:12:26 +0000
commitdca0c9f5a308e115ec308cdc8ca7987ff4fc0479 (patch)
tree7c757e37e0e053fbbf9f9c26c0f9b3ef6b5964ff /src/screen.cc
parent74cb09bb2cc4832463a57743b1495eef24237d2a (diff)
add an OBRootWindow class that watches events/properties on root windows
Diffstat (limited to 'src/screen.cc')
-rw-r--r--src/screen.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/screen.cc b/src/screen.cc
index 4457096b..3c6731c2 100644
--- a/src/screen.cc
+++ b/src/screen.cc
@@ -37,7 +37,8 @@ namespace ob {
OBScreen::OBScreen(int screen, const otk::Configuration &config)
- : _number(screen)
+ : _number(screen),
+ _root(screen)
{
assert(screen >= 0); assert(screen < ScreenCount(otk::OBDisplay::display));
_info = otk::OBDisplay::screenInfo(screen);