aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1996-06-24 01:29:37 +0000
committerRichard M. Stallman1996-06-24 01:29:37 +0000
commit845e9d851bed597c4650dbe8cd97b981b9e56bb1 (patch)
tree7d98cd9cecd02c4b3c7d51bafc95c3a078407e9d /src
parent82d593eb97879efc70c9617257988ec36e56334b (diff)
downloademacs-845e9d851bed597c4650dbe8cd97b981b9e56bb1.tar.gz
emacs-845e9d851bed597c4650dbe8cd97b981b9e56bb1.zip
(x_real_positions): Don't call x_uncatch_errors twice.
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c7
1 files changed, 4 insertions, 3 deletions
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)
1003 If so, we get an error in XTranslateCoordinates. 1003 If so, we get an error in XTranslateCoordinates.
1004 Detect that and try the whole thing over. */ 1004 Detect that and try the whole thing over. */
1005 if (! x_had_errors_p (FRAME_X_DISPLAY (f))) 1005 if (! x_had_errors_p (FRAME_X_DISPLAY (f)))
1006 break; 1006 {
1007 x_uncatch_errors (FRAME_X_DISPLAY (f));
1008 break;
1009 }
1007 1010
1008 x_uncatch_errors (FRAME_X_DISPLAY (f)); 1011 x_uncatch_errors (FRAME_X_DISPLAY (f));
1009 } 1012 }
1010 1013
1011 x_uncatch_errors (FRAME_X_DISPLAY (f));
1012
1013 *xptr = f->output_data.x->left_pos - win_x; 1014 *xptr = f->output_data.x->left_pos - win_x;
1014 *yptr = f->output_data.x->top_pos - win_y; 1015 *yptr = f->output_data.x->top_pos - win_y;
1015} 1016}