diff options
author | fluxgen <fluxgen> | 2003-08-19 16:16:28 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-08-19 16:16:28 (GMT) |
commit | 923d9eaf2be5c601188c8cf4f4fbb715e507533f (patch) | |
tree | d3b672993302d268d45902b89514d36bf4a6862f /src/Workspace.cc | |
parent | 3006ba49e41538bcc0c4afe958875c59a34550a9 (diff) | |
download | fluxbox_pavel-923d9eaf2be5c601188c8cf4f4fbb715e507533f.zip fluxbox_pavel-923d9eaf2be5c601188c8cf4f4fbb715e507533f.tar.bz2 |
removed old functions
Diffstat (limited to 'src/Workspace.cc')
-rw-r--r-- | src/Workspace.cc | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/src/Workspace.cc b/src/Workspace.cc index a93f7e0..3023994 100644 --- a/src/Workspace.cc +++ b/src/Workspace.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Workspace.cc,v 1.79 2003/08/04 16:28:10 fluxgen Exp $ | 25 | // $Id: Workspace.cc,v 1.80 2003/08/19 16:16:28 fluxgen Exp $ |
26 | 26 | ||
27 | #include "Workspace.hh" | 27 | #include "Workspace.hh" |
28 | 28 | ||
@@ -216,6 +216,7 @@ int Workspace::removeWindow(FluxboxWindow *w) { | |||
216 | if (m_lastfocus == w || m_windowlist.empty()) | 216 | if (m_lastfocus == w || m_windowlist.empty()) |
217 | m_lastfocus = 0; | 217 | m_lastfocus = 0; |
218 | 218 | ||
219 | |||
219 | if (!w->isStuck()) { | 220 | if (!w->isStuck()) { |
220 | FluxboxWindow::ClientList::iterator client_it = | 221 | FluxboxWindow::ClientList::iterator client_it = |
221 | w->clientList().begin(); | 222 | w->clientList().begin(); |
@@ -389,20 +390,6 @@ void Workspace::update() { | |||
389 | } | 390 | } |
390 | 391 | ||
391 | 392 | ||
392 | bool Workspace::isCurrent() const{ | ||
393 | return (m_id == screen().currentWorkspaceID()); | ||
394 | } | ||
395 | |||
396 | |||
397 | bool Workspace::isLastWindow(FluxboxWindow *w) const{ | ||
398 | return (w == m_windowlist.back()); | ||
399 | } | ||
400 | |||
401 | void Workspace::setCurrent() { | ||
402 | screen().changeWorkspaceID(m_id); | ||
403 | } | ||
404 | |||
405 | |||
406 | void Workspace::setName(const std::string &name) { | 393 | void Workspace::setName(const std::string &name) { |
407 | if (name.size() != 0) { | 394 | if (name.size() != 0) { |
408 | m_name = name; | 395 | m_name = name; |