diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-29 08:50:52 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-29 08:50:52 +0000 |
| commit | 1862fd052f1843e54225fbc6f213e13c317cbca8 (patch) | |
| tree | 09f128b4307f04b3542e333b3d38351949c8474b | |
| parent | 0c05f5d9c76d4c765022eb72dc03de6671c20734 (diff) | |
ignore errors when proxying configurerequests
| -rw-r--r-- | otk/eventdispatcher.cc | 6 |
1 files changed, 5 insertions, 1 deletions
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; |
