removed catch

This commit is contained in:
fluxgen 2002-02-11 11:52:07 +00:00
parent efa5e85503
commit 27842d01fa

View file

@ -22,7 +22,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// $Id: Screen.cc,v 1.22 2002/02/10 22:48:19 fluxgen Exp $ // $Id: Screen.cc,v 1.23 2002/02/11 11:52:07 fluxgen Exp $
// stupid macros needed to access some functions in version 2 of the GNU C // stupid macros needed to access some functions in version 2 of the GNU C
// library // library
@ -453,18 +453,13 @@ resource(rm, screenname, altscreenname)
continue; continue;
if (attrib.map_state != IsUnmapped) { if (attrib.map_state != IsUnmapped) {
FluxboxWindow *tempwin = 0;
try { FluxboxWindow *win = new FluxboxWindow(children[i], this);
tempwin = new FluxboxWindow(children[i], this); if (!win->isManaged()) {
} catch (FluxboxWindow::Error err) { delete win;
FluxboxWindow::showError(err); win = 0;
delete tempwin;
tempwin = 0;
} catch (...) {
cerr<<"FATAL: Unknown exception"<<endl;
} }
FluxboxWindow *win = fluxbox->searchWindow(children[i]);
if (win) { if (win) {
XMapRequestEvent mre; XMapRequestEvent mre;
mre.window = children[i]; mre.window = children[i];