if (x_dnd_last_seen_window != None
&& x_dnd_last_protocol_version != -1)
{
- x_dnd_waiting_for_finish = true;
+ /* Crazy hack to make dragging from one frame to
+ another work. */
+ x_dnd_waiting_for_finish = !x_any_window_to_frame (dpyinfo,
+ x_dnd_last_seen_window);
x_dnd_pending_finish_target = x_dnd_last_seen_window;
x_dnd_waiting_for_finish_proto = x_dnd_last_protocol_version;
if (x_dnd_last_seen_window != None
&& x_dnd_last_protocol_version != -1)
{
- x_dnd_waiting_for_finish = true;
+ x_dnd_waiting_for_finish = !x_any_window_to_frame (dpyinfo,
+ x_dnd_last_seen_window);
x_dnd_pending_finish_target = x_dnd_last_seen_window;
x_dnd_waiting_for_finish_proto = x_dnd_last_protocol_version;