x_dnd_return_frame = 2;
if (x_dnd_return_frame == 2
- && x_window_to_frame (dpyinfo, target))
+ && x_any_window_to_frame (dpyinfo, target))
{
x_dnd_in_progress = false;
x_dnd_return_frame_object
- = x_window_to_frame (dpyinfo, target);
+ = x_any_window_to_frame (dpyinfo, target);
x_dnd_return_frame = 3;
}
x_dnd_return_frame = 2;
if (x_dnd_return_frame == 2
- && x_window_to_frame (dpyinfo, target))
+ && x_any_window_to_frame (dpyinfo, target))
{
x_dnd_in_progress = false;
x_dnd_return_frame_object
- = x_window_to_frame (dpyinfo, target);
+ = x_any_window_to_frame (dpyinfo, target);
x_dnd_return_frame = 3;
}