summaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-07-23 01:05:31 +0000
committerDana Jansens <danakj@orodu.net>2002-07-23 01:05:31 +0000
commit4c03637fd1cd5273a030abe38dfffa65c67fd420 (patch)
tree0f867360db55680093dd188f5a315b5c7ce70d49 /src/Screen.cc
parentb1874480ae98debabcfe92a6388dd139cd49e49b (diff)
modal transients wouldnt throw their focus up to their arent cuz the parent didnt know the modal dialog was gone yet and would pass it back to them.
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index d92973b3..86d425d7 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -1245,12 +1245,6 @@ void BScreen::manageWindow(Window w) {
void BScreen::unmanageWindow(BlackboxWindow *w, bool remap) {
w->restore(remap);
- if (w->getWorkspaceNumber() != BSENTINEL &&
- w->getWindowNumber() != BSENTINEL)
- getWorkspace(w->getWorkspaceNumber())->removeWindow(w);
- else if (w->isIconic())
- removeIcon(w);
-
if (w->isNormal()) {
// we don't list non-normal windows as managed windows
windowList.remove(w);
@@ -1266,9 +1260,6 @@ void BScreen::unmanageWindow(BlackboxWindow *w, bool remap) {
assert(it != end); // the window wasnt a desktop window?
}
- if (blackbox->getFocusedWindow() == w)
- blackbox->setFocusedWindow((BlackboxWindow *) 0);
-
removeNetizen(w->getClientWindow());
/*