* src/nsterm.m ([EmacsWindow beginDrag:...]): Clear
dpyinfo->grabbed.
NSInteger window_number;
NSWindow *w;
#endif
-
drag_op = op;
selected_op = NSDragOperationNone;
image = [[NSImage alloc] initWithSize: NSMakeSize (1.0, 1.0)];
#endif
unblock_input ();
+ /* Assume all buttons have been released since the drag-and-drop
+ operation is now over. */
+ if (!dnd_return_frame)
+ x_display_list->grabbed = 0;
+
[image release];
*frame_return = dnd_return_frame;