aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 88fa659..27373d3 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -365,7 +365,16 @@ rootcommand("")
365 continue; 365 continue;
366 366
367 if (attrib.map_state != IsUnmapped) { 367 if (attrib.map_state != IsUnmapped) {
368 new FluxboxWindow(children[i], this); 368 FluxboxWindow *tempwin = 0;
369 try {
370 tempwin = new FluxboxWindow(children[i], this);
371 } catch (FluxboxWindow::Error err) {
372 FluxboxWindow::showError(err);
373 delete tempwin;
374 tempwin = 0;
375 } catch (...) {
376 cerr<<"FATAL: Unknown catch"<<endl;
377 }
369 378
370 FluxboxWindow *win = fluxbox->searchWindow(children[i]); 379 FluxboxWindow *win = fluxbox->searchWindow(children[i]);
371 if (win) { 380 if (win) {