summaryrefslogtreecommitdiff
path: root/src/screen.cc
diff options
context:
space:
mode:
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 18105f2a..e13e805a 100644
--- a/src/screen.cc
+++ b/src/screen.cc
@@ -361,7 +361,8 @@ void OBScreen::setSupportedAtoms()
// convert to the atom values
for (int i = 0; i < num_supported; ++i)
- supported[i] = Openbox::instance->property()->atom(supported[i]);
+ supported[i] =
+ Openbox::instance->property()->atom((otk::OBProperty::Atoms)supported[i]);
Openbox::instance->property()->set(_info->rootWindow(),
otk::OBProperty::net_supported,