From: Dana Jansens Date: Wed, 29 Jan 2003 08:50:52 +0000 (+0000) Subject: ignore errors when proxying configurerequests X-Git-Tag: openbox-2_3_0~157 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=1862fd052f1843e54225fbc6f213e13c317cbca8;p=dana%2Fopenbox.git ignore errors when proxying configurerequests --- diff --git a/otk/eventdispatcher.cc b/otk/eventdispatcher.cc index bc2851c4..a1858eee 100644 --- a/otk/eventdispatcher.cc +++ b/otk/eventdispatcher.cc @@ -165,9 +165,13 @@ void EventDispatcher::dispatch(Window win, const XEvent &e) xwc.border_width = e.xconfigurerequest.border_width; xwc.sibling = e.xconfigurerequest.above; xwc.stack_mode = e.xconfigurerequest.detail; - + + // we are not to be held responsible if someone sends us an invalid + // request! + display->setIgnoreErrors(true); XConfigureWindow(**display, e.xconfigurerequest.window, e.xconfigurerequest.value_mask, &xwc); + display->setIgnoreErrors(false); } else { // grab a falback if it exists handler = _fallback;