summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--otk/display.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/otk/display.cc b/otk/display.cc
index 9ab8ed2f..87794f44 100644
--- a/otk/display.cc
+++ b/otk/display.cc
@@ -215,9 +215,9 @@ const RenderControl *Display::renderControl(int snum) const
void Display::setIgnoreErrors(bool t)
{
- _ignore_errors = t;
// sync up so that anything already sent is/isn't ignored!
XSync(_display, false);
+ _ignore_errors = t;
}
void Display::grab()