* src/xterm.c (handle_one_xevent): Disown Motif drag atom if
eventp->time is CurrentTime as well. This can happen with some
synthetic events.
const XSelectionClearEvent *eventp = &event->xselectionclear;
if (eventp->selection == dpyinfo->motif_drag_atom
- && dpyinfo->motif_drag_atom_time <= eventp->time)
+ && (eventp->time == CurrentTime
+ || dpyinfo->motif_drag_atom_time <= eventp->time))
dpyinfo->motif_drag_atom = None;
inev.sie.kind = SELECTION_CLEAR_EVENT;