Fixes STR #2461. Also, the drag'n-drop X11 cursor has been set to FL_CURSOR_MOVE.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7923 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2010-11-30 14:06:15 +00:00
parent 1303ce4597
commit d2334f610e
2 changed files with 4 additions and 1 deletions

View File

@ -626,6 +626,9 @@ int Fl_Input::handle(int event) {
Fl::focus(dnd_save_focus);
handle(FL_UNFOCUS);
}
#if !(defined(__APPLE__) || defined(WIN32))
Fl::first_window()->cursor(FL_CURSOR_MOVE);
#endif
return 1;
case FL_DND_RELEASE:

View File

@ -87,7 +87,7 @@ static int local_handle(int event, Fl_Window* window) {
int Fl::dnd() {
Fl_Window *source_fl_win = Fl::first_window();
Fl::first_window()->cursor((Fl_Cursor)21);
Fl::first_window()->cursor(FL_CURSOR_MOVE);
Window source_window = fl_xid(Fl::first_window());
fl_local_grab = grabfunc;
Window target_window = 0;