summaryrefslogtreecommitdiff
path: root/src/fl_dnd_x.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2003-05-04 21:45:46 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2003-05-04 21:45:46 +0000
commit13005b2a3f0f16579522523460a82dca48e855a4 (patch)
treef3ab630c7942e2b827270af379eeed2118dafdb1 /src/fl_dnd_x.cxx
parent78262d8047e347cad3710b383af7f5e9ead88a96 (diff)
Fl_File_Browser incorrectly included "." on WIN32 (STR #9)
Include shellapi.h instead of ShellAPI.h in the WIN32 drag-n-drop code in order to work with the MingW cross compiler (STR #6) The cursor was not properly restored when doing drag-n-drop on X11 (STR #4) Fl::remove_fd() didn't recalculate the highest file descriptor properly (STR #20) Fl_Preferences::deleteGroup() didn't work properly (STR #13) Fixed the fl_show_file_selector() function - it was copying using the wrong string size (STR #14) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2975 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_dnd_x.cxx')
-rw-r--r--src/fl_dnd_x.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/fl_dnd_x.cxx b/src/fl_dnd_x.cxx
index cb4b3fca0..31499bb6b 100644
--- a/src/fl_dnd_x.cxx
+++ b/src/fl_dnd_x.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: fl_dnd_x.cxx,v 1.5.2.6 2003/01/30 21:43:38 easysw Exp $"
+// "$Id: fl_dnd_x.cxx,v 1.5.2.7 2003/05/04 21:45:46 easysw Exp $"
//
// Drag & Drop code for the Fast Light Tool Kit (FLTK).
//
@@ -81,6 +81,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);
Window source_window = fl_xid(Fl::first_window());
fl_local_grab = grabfunc;
@@ -161,11 +162,11 @@ int Fl::dnd() {
}
fl_local_grab = 0;
- Fl::first_window()->cursor(FL_CURSOR_DEFAULT);
+ source_fl_win->cursor(FL_CURSOR_DEFAULT);
return 1;
}
//
-// End of "$Id: fl_dnd_x.cxx,v 1.5.2.6 2003/01/30 21:43:38 easysw Exp $".
+// End of "$Id: fl_dnd_x.cxx,v 1.5.2.7 2003/05/04 21:45:46 easysw Exp $".
//