Commit 845e9d85 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(x_real_positions): Don't call x_uncatch_errors twice.

parent 82d593eb
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment