DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2419
Version: 1.3-current


I think cause is this XChangeProperty line Fl_x.cxx:
----
    if (e.target == TARGETS) {
      Atom a = fl_XaUtf8String; //XA_STRING;
      XChangeProperty(fl_display, e.requestor, e.property,
                      XA_ATOM, sizeof(Atom)*8, 0, (unsigned char*)&a, 1);
----

It's really hard to trace this, because even if you put fprintf(stderr)
around this line, it doesn't encase the message from XLIB, probably
because the operation that causes it gets delayed in the X event queue.

If I comment out that line, the error message goes away.

The complaint from XLIB regarding "0x40" seems to be that sizeof(Atom)*8
which on a 64bit machine is 0x40.

I'm not really sure what this operation does, or why there's a *8 in
there, and don't know what the fix is. It's obviously the UTF8 stuff, and
I think we've actually been here before, not sure..


Link: http://www.fltk.org/str.php?L2419
Version: 1.3-current

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

Reply via email to