From b3879a23237dc984c99a2d1a38ad2495443355ef Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 17 Feb 2003 13:42:01 +0000 Subject: [PATCH] s/False/false/ --- src/screen.cc | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) 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 ""; -- 2.39.2