// any changes we've made here
otk::Property::set(_window, otk::Property::atoms.net_wm_desktop,
otk::Property::atoms.cardinal, (unsigned)_desktop);
-
changeState();
}
return;
_desktop = target;
-
// set the desktop hint
otk::Property::set(_window, otk::Property::atoms.net_wm_desktop,
otk::Property::atoms.cardinal, _desktop);
-
+ frame->adjustState(); // the frame can display the current desktop state
// 'move' the window to the new desktop
showhide();
-
openbox->screen(_screen)->updateStruts();
}
XMapWindow(**otk::display, _window);
}
changeState();
-
showhide();
-
openbox->screen(_screen)->updateStruts();
}