]> Dogcows Code - chaz/openbox/commitdiff
sync before changing the ignore_errors state
authorDana Jansens <danakj@orodu.net>
Fri, 14 Feb 2003 20:05:47 +0000 (20:05 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 14 Feb 2003 20:05:47 +0000 (20:05 +0000)
otk/display.cc

index 9ab8ed2f0b898ab2e8c23aee9e895d8db4120a6f..87794f441697fbdde9428c2b0d77223bd7951b0e 100644 (file)
@@ -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()
This page took 0.022982 seconds and 4 git commands to generate.