s/False/false/
This commit is contained in:
parent
c6930ae234
commit
b3879a2323
1 changed files with 1 additions and 12 deletions
|
@ -783,7 +783,7 @@ void Screen::changeNumDesktops(unsigned int num)
|
||||||
ce.xclient.window = (*it)->window();
|
ce.xclient.window = (*it)->window();
|
||||||
ce.xclient.format = 32;
|
ce.xclient.format = 32;
|
||||||
ce.xclient.data.l[0] = num - 1;
|
ce.xclient.data.l[0] = num - 1;
|
||||||
XSendEvent(**otk::display, _info->rootWindow(), False,
|
XSendEvent(**otk::display, _info->rootWindow(), false,
|
||||||
SubstructureNotifyMask | SubstructureRedirectMask, &ce);
|
SubstructureNotifyMask | SubstructureRedirectMask, &ce);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -829,17 +829,6 @@ void Screen::updateDesktopNames()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void Screen::setDesktopName(unsigned int i, const otk::ustring &name)
|
|
||||||
{
|
|
||||||
if (i >= _num_desktops) return;
|
|
||||||
|
|
||||||
otk::Property::StringVect newnames = _desktop_names;
|
|
||||||
newnames[i] = name;
|
|
||||||
otk::Property::set(_info->rootWindow(),
|
|
||||||
otk::Property::atoms.net_desktop_names,
|
|
||||||
otk::Property::utf8, newnames);
|
|
||||||
}
|
|
||||||
|
|
||||||
otk::ustring Screen::desktopName(unsigned int i) const
|
otk::ustring Screen::desktopName(unsigned int i) const
|
||||||
{
|
{
|
||||||
if (i >= _num_desktops) return "";
|
if (i >= _num_desktops) return "";
|
||||||
|
|
Loading…
Reference in a new issue