mod/maxgui.mod/fltkmaxgui.mod/src/fl_dnd_x.cxx
static int dnd_aware(Window& window) {
  Atom actual; int format; unsigned long count, remaining;
  unsigned char *data = 0;
  XGetWindowProperty(fl_display, window, fl_XdndAware,
		     0, 4, False, XA_ATOM,
		     &actual, &format,
		     &count, &remaining, &data);
  if (actual == XA_ATOM && format==32 && count && data)
    return int(*(Atom*)data);
  return 0;
}
// return version # of Xdnd this window supports.  Also change the
// window to the proxy if it uses a proxy:
return version # of Xdnd this window supports.  Also change the
window to the proxy if it uses a proxy.
return version # of Xdnd this window supports . Also change the window to the proxy if it uses a proxy .
static int dnd_aware(Window& window) {
  Atom actual; int format; unsigned long count, remaining;
  unsigned char *data = 0;
  XGetWindowProperty(fl_display, window, fl_XdndAware,
		     0, 4, False, XA_ATOM,
		     &actual, &format,
		     &count, &remaining, &data);
  if (actual == XA_ATOM && format==32 && count && data)
    return int(*(Atom*)data);
  return 0;
}
static int dnd_aware ( Window & window ) { Atom actual ; int format ; unsigned long count , remaining ; unsigned char * data = 0 ; XGetWindowProperty ( fl_display , window , fl_XdndAware , 0 , 4 , False , XA_ATOM , & actual , & format , & count , & remaining , & data ) ; if ( actual == XA_ATOM && format == 32 && count && data ) return int ( * ( Atom * ) data ) ; return 0 ; }
return version # of Xdnd this window supports.
return version # of Xdnd this window supports .