From: Richard M. Stallman Date: Mon, 24 Jun 1996 01:29:37 +0000 (+0000) Subject: (x_real_positions): Don't call x_uncatch_errors twice. X-Git-Tag: emacs-19.34~367 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=845e9d851bed597c4650dbe8cd97b981b9e56bb1;p=emacs.git (x_real_positions): Don't call x_uncatch_errors twice. --- diff --git a/src/xfns.c b/src/xfns.c index aa90a93e147..8896fc46373 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -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; }