* src/xterm.c (handle_one_xevent): Don't update DND state on the
wrong display.
popup_activated_flag = 1;
#endif
- if (x_dnd_in_progress)
+ if (x_dnd_in_progress
+ && dpyinfo == FRAME_DISPLAY_INFO (x_dnd_frame))
x_dnd_update_state (dpyinfo, dpyinfo->last_user_time);
if (x_dnd_in_progress && x_dnd_use_toplevels
}
- if (x_dnd_in_progress)
+ if (x_dnd_in_progress
+ && dpyinfo == FRAME_DISPLAY_INFO (x_dnd_frame))
x_dnd_update_state (dpyinfo, dpyinfo->last_user_time);
goto OTHER;
break;
case CirculateNotify:
- if (x_dnd_in_progress)
+ if (x_dnd_in_progress
+ && dpyinfo == FRAME_DISPLAY_INFO (x_dnd_frame))
x_dnd_update_state (dpyinfo, dpyinfo->last_user_time);
goto OTHER;