Wasn't enabling XDND...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2011 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
1d451aada0
commit
ba2eae871a
@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// "$Id: Fl_x.cxx,v 1.24.2.24.2.13 2002/03/07 19:22:57 spitzak Exp $"
|
// "$Id: Fl_x.cxx,v 1.24.2.24.2.14 2002/03/25 02:36:59 easysw Exp $"
|
||||||
//
|
//
|
||||||
// X specific code for the Fast Light Tool Kit (FLTK).
|
// X specific code for the Fast Light Tool Kit (FLTK).
|
||||||
//
|
//
|
||||||
@ -1034,6 +1034,11 @@ void Fl_X::make_xid(Fl_Window* w, XVisualInfo *visual, Colormap colormap)
|
|||||||
if (!w->visible()) showit = 0; // guess that wm will not show it
|
if (!w->visible()) showit = 0; // guess that wm will not show it
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Make it receptive to DnD:
|
||||||
|
int version = 4;
|
||||||
|
XChangeProperty(fl_display, x->xid, fl_XdndAware,
|
||||||
|
XA_ATOM, sizeof(int)*8, 0, (unsigned char*)&version, 1);
|
||||||
|
|
||||||
XWMHints hints;
|
XWMHints hints;
|
||||||
hints.input = True;
|
hints.input = True;
|
||||||
hints.flags = InputHint;
|
hints.flags = InputHint;
|
||||||
@ -1210,5 +1215,5 @@ void Fl_Window::make_current() {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// End of "$Id: Fl_x.cxx,v 1.24.2.24.2.13 2002/03/07 19:22:57 spitzak Exp $".
|
// End of "$Id: Fl_x.cxx,v 1.24.2.24.2.14 2002/03/25 02:36:59 easysw Exp $".
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user