summaryrefslogtreecommitdiff
path: root/src/Workspace.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-07-29 06:21:31 +0000
committerDana Jansens <danakj@orodu.net>2002-07-29 06:21:31 +0000
commit77c518f8088dfae042f96f4f6424232e6400de40 (patch)
tree7b09e9a2d8aa0a1afca03bbf9c1c2952a7d6b44c /src/Workspace.cc
parentf61a455ec1704d305d8643b8215c8e0647f4c869 (diff)
better sticky windows.
Diffstat (limited to 'src/Workspace.cc')
-rw-r--r--src/Workspace.cc16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/Workspace.cc b/src/Workspace.cc
index f4a09680..964e1f42 100644
--- a/src/Workspace.cc
+++ b/src/Workspace.cc
@@ -118,14 +118,6 @@ void Workspace::addWindow(BlackboxWindow *w, bool place, bool sticky) {
raiseWindow(w);
else
lowerWindow(w);
-
- // if the window is sticky, then it needs to be added on all other
- // workspaces too!
- if (! sticky && w->isStuck()) {
- for (unsigned int i = 0; i < screen->getWorkspaceCount(); ++i)
- if (i != id)
- screen->getWorkspace(i)->addWindow(w, place, True);
- }
}
@@ -140,14 +132,6 @@ void Workspace::removeWindow(BlackboxWindow *w, bool sticky) {
focusFallback(w);
}
- // if the window is sticky, then it needs to be removed on all other
- // workspaces too!
- if (! sticky && w->isStuck()) {
- for (unsigned int i = 0; i < screen->getWorkspaceCount(); ++i)
- if (i != id)
- screen->getWorkspace(i)->removeWindow(w, True);
- }
-
if (! w->isNormal()) return;
BlackboxWindowList::iterator it, end = windowList.end();