]> Dogcows Code - chaz/openbox/blobdiff - src/screen.cc
make the icons program a C app.
[chaz/openbox] / src / screen.cc
index 0c90d747b9de86e63eeef0121e4e17fa0076b0c4..f5cc00922125f9068040504c56bf4ad456531913 100644 (file)
@@ -867,6 +867,11 @@ void Screen::setDesktopName(unsigned int i, const otk::ustring &name)
                      otk::Property::utf8, newnames);
 }
 
+otk::ustring Screen::desktopName(unsigned int i) const
+{
+  if (i >= _num_desktops) return "";
+  return _desktop_names[i];
+}
 
 const otk::Rect& Screen::area(unsigned int desktop) const {
   assert(desktop < _num_desktops || desktop == 0xffffffff);
This page took 0.022443 seconds and 4 git commands to generate.