removed old functions

This commit is contained in:
fluxgen 2003-08-19 16:16:28 +00:00
parent 3006ba49e4
commit 923d9eaf2b
2 changed files with 4 additions and 21 deletions

View file

@ -22,7 +22,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
// $Id: Workspace.cc,v 1.79 2003/08/04 16:28:10 fluxgen Exp $
// $Id: Workspace.cc,v 1.80 2003/08/19 16:16:28 fluxgen Exp $
#include "Workspace.hh"
@ -216,6 +216,7 @@ int Workspace::removeWindow(FluxboxWindow *w) {
if (m_lastfocus == w || m_windowlist.empty())
m_lastfocus = 0;
if (!w->isStuck()) {
FluxboxWindow::ClientList::iterator client_it =
w->clientList().begin();
@ -389,20 +390,6 @@ void Workspace::update() {
}
bool Workspace::isCurrent() const{
return (m_id == screen().currentWorkspaceID());
}
bool Workspace::isLastWindow(FluxboxWindow *w) const{
return (w == m_windowlist.back());
}
void Workspace::setCurrent() {
screen().changeWorkspaceID(m_id);
}
void Workspace::setName(const std::string &name) {
if (name.size() != 0) {
m_name = name;

View file

@ -60,7 +60,6 @@ public:
void removeAll();
void reconfigure();
void update();
void setCurrent();
void shutdown();
void addWindow(FluxboxWindow &win, bool place = false);
int removeWindow(FluxboxWindow *win);
@ -85,16 +84,13 @@ public:
const Windows &windowList() const { return m_windowlist; }
Windows &windowList() { return m_windowlist; }
bool isCurrent() const;
bool isLastWindow(FluxboxWindow *window) const;
int numberOfWindows() const;
bool checkGrouping(FluxboxWindow &win);
static bool loadGroups(const std::string &filename);
protected:
void placeWindow(FluxboxWindow &win);
private:
void placeWindow(FluxboxWindow &win);
BScreen &m_screen;
FluxboxWindow *m_lastfocus;