all repos — openbox @ b3879a23237dc984c99a2d1a38ad2495443355ef

openbox fork - make it a bit more like ryudo

s/False/false/
Dana Jansens danakj@orodu.net
commit

b3879a23237dc984c99a2d1a38ad2495443355ef

parent

c6930ae23498ff5a57279499766f3124b7f7e222

1 files changed, 1 insertions(+), 12 deletions(-)

jump to
M src/screen.ccsrc/screen.cc

@@ -783,7 +783,7 @@ ce.xclient.display = **otk::display;

ce.xclient.window = (*it)->window(); ce.xclient.format = 32; ce.xclient.data.l[0] = num - 1; - XSendEvent(**otk::display, _info->rootWindow(), False, + XSendEvent(**otk::display, _info->rootWindow(), false, SubstructureNotifyMask | SubstructureRedirectMask, &ce); } }

@@ -828,17 +828,6 @@ while (_desktop_names.size() < _num_desktops)

_desktop_names.push_back("Unnamed"); } - -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 {