diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-03-25 02:36:59 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-03-25 02:36:59 +0000 |
| commit | ba2eae871a01b41de7cd3e6c4d217c6038bb8156 (patch) | |
| tree | cc00434fc06061724fc2dbe39ad6fd6198ce8112 | |
| parent | 1d451aada0455b19f0de47aa16761ebc0b3123ca (diff) | |
Wasn't enabling XDND...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2011 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | src/Fl_x.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index 5b6308626..593e5156f 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -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). // @@ -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 } + // 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; hints.input = True; hints.flags = InputHint; @@ -1210,5 +1215,5 @@ void Fl_Window::make_current() { #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 $". // |
