]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_real_positions): Don't call x_uncatch_errors twice.
authorRichard M. Stallman <rms@gnu.org>
Mon, 24 Jun 1996 01:29:37 +0000 (01:29 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 24 Jun 1996 01:29:37 +0000 (01:29 +0000)
src/xfns.c

index aa90a93e147b90c7f5b04a0128dcc2ca69be4b8e..8896fc46373d8db738dff88f4240392e9447cdbb 100644 (file)
@@ -1003,13 +1003,14 @@ x_real_positions (f, xptr, yptr)
         If so, we get an error in XTranslateCoordinates.
         Detect that and try the whole thing over.  */
       if (! x_had_errors_p (FRAME_X_DISPLAY (f)))
-       break;
+       {
+         x_uncatch_errors (FRAME_X_DISPLAY (f));
+         break;
+       }
 
       x_uncatch_errors (FRAME_X_DISPLAY (f));
     }
 
-  x_uncatch_errors (FRAME_X_DISPLAY (f));
-
   *xptr = f->output_data.x->left_pos - win_x;
   *yptr = f->output_data.x->top_pos - win_y;
 }