From: Dana Jansens Date: Mon, 17 Feb 2003 13:42:01 +0000 (+0000) Subject: s/False/false/ X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=b3879a23237dc984c99a2d1a38ad2495443355ef;p=chaz%2Fopenbox s/False/false/ --- diff --git a/src/screen.cc b/src/screen.cc index 11f0f5d3..be56156d 100644 --- a/src/screen.cc +++ b/src/screen.cc @@ -783,7 +783,7 @@ void Screen::changeNumDesktops(unsigned int num) 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); } } @@ -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 { if (i >= _num_desktops) return "";