summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Workspace.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Workspace.cc b/src/Workspace.cc
index ad67c8b..341f569 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.24 2002/08/16 11:02:41 fluxgen Exp $ 25// $Id: Workspace.cc,v 1.25 2002/08/18 23:35:31 fluxgen Exp $
26 26
27#include "Workspace.hh" 27#include "Workspace.hh"
28 28
@@ -139,8 +139,11 @@ int Workspace::removeWindow(FluxboxWindow *w) {
139 Fluxbox::instance()->setFocusedWindow(0); // set focused window to none 139 Fluxbox::instance()->setFocusedWindow(0); // set focused window to none
140 } else if (w->isTransient() && w->getTransientFor() && 140 } else if (w->isTransient() && w->getTransientFor() &&
141 w->getTransientFor()->isVisible()) { 141 w->getTransientFor()->isVisible()) {
142 if (w->getTransientFor() == w) // FATAL ERROR, this should not happend 142 /* TODO: check transient
143 if (w->getTransientFor() == w) { // FATAL ERROR, this should not happend
144 cerr<<"w->getTransientFor() == w: aborting!"<<endl;
143 abort(); 145 abort();
146 }*/
144 w->getTransientFor()->setInputFocus(); 147 w->getTransientFor()->setInputFocus();
145 } else { 148 } else {
146 FluxboxWindow *top = 0; 149 FluxboxWindow *top = 0;