diff options
Diffstat (limited to 'src/screen.cc')
| -rw-r--r-- | src/screen.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/screen.cc b/src/screen.cc index 0c90d747..f5cc0092 100644 --- a/src/screen.cc +++ b/src/screen.cc @@ -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); |
