ignore errors when proxying configurerequests
This commit is contained in:
parent
0c05f5d9c7
commit
1862fd052f
1 changed files with 5 additions and 1 deletions
|
@ -166,8 +166,12 @@ void EventDispatcher::dispatch(Window win, const XEvent &e)
|
||||||
xwc.sibling = e.xconfigurerequest.above;
|
xwc.sibling = e.xconfigurerequest.above;
|
||||||
xwc.stack_mode = e.xconfigurerequest.detail;
|
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,
|
XConfigureWindow(**display, e.xconfigurerequest.window,
|
||||||
e.xconfigurerequest.value_mask, &xwc);
|
e.xconfigurerequest.value_mask, &xwc);
|
||||||
|
display->setIgnoreErrors(false);
|
||||||
} else {
|
} else {
|
||||||
// grab a falback if it exists
|
// grab a falback if it exists
|
||||||
handler = _fallback;
|
handler = _fallback;
|
||||||
|
|
Loading…
Reference in a new issue