]> Dogcows Code - chaz/openbox/commitdiff
s/False/false/
authorDana Jansens <danakj@orodu.net>
Mon, 17 Feb 2003 13:42:01 +0000 (13:42 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 17 Feb 2003 13:42:01 +0000 (13:42 +0000)
src/screen.cc

index 11f0f5d371ce4bebca2c033650e0d1b8fdb33eb4..be56156d98f908448dbc2708ebf22b9952642611 100644 (file)
@@ -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 "";
This page took 0.024286 seconds and 4 git commands to generate.