| SubstructureNotifyMask
| PropertyChangeMask);
+ if (EQ (return_frame, Qnow))
+ x_dnd_update_state (FRAME_DISPLAY_INFO (f), CurrentTime);
+
while (x_dnd_in_progress || x_dnd_waiting_for_finish)
{
- if (EQ (return_frame, Qnow))
- x_dnd_update_state (FRAME_DISPLAY_INFO (f), CurrentTime);
-
hold_quit.kind = NO_EVENT;
#ifdef USE_GTK
current_finish = X_EVENT_NORMAL;
if (target != x_dnd_last_seen_window)
{
+ if (target != FRAME_OUTER_WINDOW (x_dnd_frame)
+ && x_dnd_return_frame == 1)
+ x_dnd_return_frame = 2;
+
if (x_dnd_last_seen_window != None
&& x_dnd_last_protocol_version != -1
&& x_dnd_last_seen_window != FRAME_OUTER_WINDOW (x_dnd_frame))
x_dnd_last_seen_window, &lmsg);
}
- if (target != FRAME_OUTER_WINDOW (x_dnd_frame)
- && x_dnd_return_frame == 1)
- x_dnd_return_frame = 2;
-
if (x_dnd_return_frame == 2
&& x_any_window_to_frame (dpyinfo, target))
{
if (target != x_dnd_last_seen_window)
{
+ if (target != FRAME_OUTER_WINDOW (x_dnd_frame)
+ && x_dnd_return_frame == 1)
+ x_dnd_return_frame = 2;
+
if (x_dnd_last_seen_window != None
&& x_dnd_last_protocol_version != -1
&& x_dnd_last_seen_window != FRAME_OUTER_WINDOW (x_dnd_frame))
}
}
- if (target != FRAME_OUTER_WINDOW (x_dnd_frame)
- && x_dnd_return_frame == 1)
- x_dnd_return_frame = 2;
-
if (x_dnd_return_frame == 2
&& x_any_window_to_frame (dpyinfo, target))
{
if (target != x_dnd_last_seen_window)
{
+ if (target != FRAME_OUTER_WINDOW (x_dnd_frame)
+ && x_dnd_return_frame == 1)
+ x_dnd_return_frame = 2;
+
if (x_dnd_last_seen_window != None
&& x_dnd_last_protocol_version != -1
&& x_dnd_last_seen_window != FRAME_OUTER_WINDOW (x_dnd_frame))
}
}
- if (target != FRAME_OUTER_WINDOW (x_dnd_frame)
- && x_dnd_return_frame == 1)
- x_dnd_return_frame = 2;
-
if (x_dnd_return_frame == 2
&& x_any_window_to_frame (dpyinfo, target))
{