* src/xterm.c (handle_one_xevent): Set the last user time if a
button press happens during drag and drop. Mysterious problems
were other seen with sending selections to a clipboard
immediately afterwards on Irix 6.5.
if (event->type == ButtonPress)
{
+ x_display_set_last_user_time (dpyinfo, event->xbutton.time,
+ event->xbutton.send_event);
+
dpyinfo->grabbed |= (1 << event->xbutton.button);
dpyinfo->last_mouse_frame = f;
if (f && !tab_bar_p)
#endif
if (xev->evtype == XI_ButtonPress)
{
+ x_display_set_last_user_time (dpyinfo, xev->time,
+ xev->send_event);
+
dpyinfo->grabbed |= (1 << xev->detail);
dpyinfo->last_mouse_frame = f;
if (f && !tab_bar_p)