# HG changeset patch # User Gerd Moellmann # Date 994948761 0 # Node ID 293a8b2199727e836cfc86e1047e9bfaaa0a21ca # Parent 6bf3530c700da5ea40234d4ac258f0b07be7af82 (XTread_socket) : Put the code ignoring events on foreign windows in #if 0. Always dispatch the event after checking it with x_handle_property_notify. diff -r 6bf3530c700d -r 293a8b219972 src/xterm.c --- a/src/xterm.c Thu Jul 12 14:38:51 2001 +0000 +++ b/src/xterm.c Thu Jul 12 14:39:21 2001 +0000 @@ -9997,7 +9997,8 @@ &event); else { - XSelectionRequestEvent *eventp = (XSelectionRequestEvent *) &event; + XSelectionRequestEvent *eventp + = (XSelectionRequestEvent *) &event; if (numchars == 0) abort (); @@ -10019,12 +10020,16 @@ break; case PropertyNotify: -#ifdef USE_X_TOOLKIT +#if 0 /* This is plain wrong. In the case that we are waiting for a + PropertyNotify used as an ACK in incremental selection + transfer, the property will be on the receiver's window. */ +#if defined USE_X_TOOLKIT if (!x_any_window_to_frame (dpyinfo, event.xproperty.window)) goto OTHER; -#endif /* not USE_X_TOOLKIT */ +#endif +#endif x_handle_property_notify (&event.xproperty); - break; + goto OTHER; case ReparentNotify: f = x_top_window_to_frame (dpyinfo, event.xreparent.window);