summaryrefslogtreecommitdiff
path: root/src/screen.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen.cc')
-rw-r--r--src/screen.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screen.cc b/src/screen.cc
index 7413b163..e3217cca 100644
--- a/src/screen.cc
+++ b/src/screen.cc
@@ -76,8 +76,8 @@ OBScreen::OBScreen(int screen, const otk::Configuration &config)
// Set the netwm atoms for geomtery and viewport
- unsigned long geometry[] = { _size.x(),
- _size.y() };
+ unsigned long geometry[] = { _info->getWidth(),
+ _info->getHeight() };
Openbox::instance->property()->set(_info->getRootWindow(),
otk::OBProperty::net_desktop_geometry,
otk::OBProperty::Atom_Cardinal,