Follow-up Comment #8, bug #28590 (project gnustep):

Looks like I didn't express myself clear enough. Sorry for that.

What I tried to say was that we should put any patch into the file
XWindowBuffer.m. And we only need to change any code in the case where we
don't use shared memory (this is for some reason broken on modern X Servers
and I don't have a clue).
This means we need to set the properties of the XImage we create in line 390
of that file. And a line like

wi->ximage->byte_order = ImageByteOrder(wi->display);

Should do the trick for cairo. This is very similar to your patch, just at a
different place. If your change works this one should work just as well.

Now we have to test how this affects the xlib and the art backend and I am
not able to test this. If this change breaks any of these backends we need to
rework it, by passing in the byte order via the DI structure. Lets discuss
this case, when it is actually needed.

Does this explanation make any more sense to you than the last one?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?28590>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to