Commit 6cc35d86 authored by Jim Blandy's avatar Jim Blandy
Browse files

* xterm.c (XTread_socket): When handing non-synthetic

	ConfigureNotify events, don't refer to the parent window
parent 0d370700
......@@ -3171,17 +3171,20 @@ XTread_socket (sd, bufp, numchars, waitp, expected)
Window win, child;
int win_x, win_y;
/* Coords are relative to the parent.
Convert them to root-relative. */
/* Find the position of the outside upper-left corner of
the window, in the root coordinate system. Don't
refer to the parent window here; we may be processing
this event after the window manager has changed our
parent, but before we have reached the ReparentNotify. */
XTranslateCoordinates (x_current_display,
/* From-window, to-window. */
/* From-position, to-position. */
&win_x, &win_y,
/* Child of win. */
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