// set up notification of netwm support
setSupportedAtoms();
- // Set the netwm atoms for geomtery and viewport
+ // Set the netwm properties for geometry and viewport
unsigned long geometry[] = { _info->width(),
_info->height() };
Openbox::instance->property()->set(_info->rootWindow(),
otk::OBProperty::Atom_Cardinal,
viewport, 2);
+ // Set the net_desktop_names property
+ std::vector<std::string> names;
+ python_get_stringlist("desktop_names", &names);
+ _root.setDesktopNames(names);
+
// create the window which gets focus when no clients get it
XSetWindowAttributes attr;
attr.override_redirect = true;
otk::OBProperty::net_workarea,
otk::OBProperty::net_client_list,
otk::OBProperty::net_client_list_stacking,
-/*
otk::OBProperty::net_desktop_names,
-*/
otk::OBProperty::net_close_window,
otk::OBProperty::net_wm_name,
otk::OBProperty::net_wm_visible_name,