From 27842d01fa83363402562721b2d9ca320f8e0fba Mon Sep 17 00:00:00 2001 From: fluxgen Date: Mon, 11 Feb 2002 11:52:07 +0000 Subject: removed catch --- src/Screen.cc | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/src/Screen.cc b/src/Screen.cc index 52ef317..52eca9c 100644 --- a/src/Screen.cc +++ b/src/Screen.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // 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 // library @@ -453,18 +453,13 @@ resource(rm, screenname, altscreenname) continue; if (attrib.map_state != IsUnmapped) { - FluxboxWindow *tempwin = 0; - try { - tempwin = new FluxboxWindow(children[i], this); - } catch (FluxboxWindow::Error err) { - FluxboxWindow::showError(err); - delete tempwin; - tempwin = 0; - } catch (...) { - cerr<<"FATAL: Unknown exception"<isManaged()) { + delete win; + win = 0; } - - FluxboxWindow *win = fluxbox->searchWindow(children[i]); + if (win) { XMapRequestEvent mre; mre.window = children[i]; -- cgit v0.11.2