diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-02-17 13:42:01 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-02-17 13:42:01 +0000 |
| commit | b3879a23237dc984c99a2d1a38ad2495443355ef (patch) | |
| tree | 1b27e11a77c1de47be6bc78c44d6c5de99eb7c40 | |
| parent | c6930ae23498ff5a57279499766f3124b7f7e222 (diff) | |
s/False/false/
| -rw-r--r-- | src/screen.cc | 13 |
1 files changed, 1 insertions, 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 ""; |
