sync before changing the ignore_errors state
This commit is contained in:
parent
e3f6e0ff81
commit
0d59a002c0
1 changed files with 1 additions and 1 deletions
|
@ -215,9 +215,9 @@ const RenderControl *Display::renderControl(int snum) const
|
||||||
|
|
||||||
void Display::setIgnoreErrors(bool t)
|
void Display::setIgnoreErrors(bool t)
|
||||||
{
|
{
|
||||||
_ignore_errors = t;
|
|
||||||
// sync up so that anything already sent is/isn't ignored!
|
// sync up so that anything already sent is/isn't ignored!
|
||||||
XSync(_display, false);
|
XSync(_display, false);
|
||||||
|
_ignore_errors = t;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Display::grab()
|
void Display::grab()
|
||||||
|
|
Loading…
Reference in a new issue