Author: sanel.z
Date: 2007-06-01 13:18:26 -0400 (Fri, 01 Jun 2007)
New Revision: 5867
Log:
STR #1568 by gga.


Modified:
   trunk/src/x11/run.cxx

Modified: trunk/src/x11/run.cxx
===================================================================
--- trunk/src/x11/run.cxx       2007-06-01 13:13:08 UTC (rev 5866)
+++ trunk/src/x11/run.cxx       2007-06-01 17:18:26 UTC (rev 5867)
@@ -1870,8 +1870,7 @@
     } else if (e.target == TARGETS) {
       Atom a[3] = {UTF8_STRING, XA_STRING, XA_TEXT};
       XChangeProperty(xdisplay, e.requestor, e.property,
-                     XA_ATOM, sizeof(Atom)*8, 0, (unsigned char*)a,
-                     sizeof(a)/sizeof(Atom));
+                     XA_ATOM, 32, 0, (unsigned char*)a, 3);
     } else if (e.target == UTF8_STRING ||
               e.target == XA_STRING ||
               e.target == XA_TEXT ||
@@ -2112,8 +2111,7 @@
 
     // Make it receptive to DnD:
     int version = 4;
-    XChangeProperty(xdisplay, x->xid, XdndAware,
-                   XA_ATOM, sizeof(int)*8, 0, (unsigned char*)&version, 1);
+    XChangeProperty(xdisplay, x->xid, XdndAware, XA_ATOM, 32, 0, (unsigned 
char*)&version, 1);
 
     // Set up the icon and initial icon state:
     XWMHints *hints = XAllocWMHints();

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to