[FreeNX-kNX] Problems migrating sessions from x86 to Mac

Eike Hein sho at eikehein.com
Sun May 7 13:47:23 UTC 2006


Eike Hein wrote:
> Quote: "Added bit swapping of glyphs of depth 1, in case
>         agent bitmap bit order and Xserver bitmap bit order
>         differ. Please refer to ChangeLog nxagent-1.3.2-12."

Alright, found some time to look a little closer at
this one: Swapping is performed in nxagentAddGlyphs,
in nxagent's Render.c, i.e.:

  if (glyphDepths[glyphSet -> fdepth] == 1 &&
          ServerOrder() != BitmapBitOrder(nxagentDisplay))
  {
    BitOrderInvert ((unsigned char *) images, sizeImages);
  }

... which is is fine for session creation, but
doesn't work well for restore (when the BitOrder
was initially the same and then changes as the
session is resumed by a client with a different
BitOrder).

Assuming !M's #TRSL041779 was about session
creation, this is a slightly different but re-
lated issue. Can anyone report it upstream?


-- 
Regards,
Eike Hein, sho at eikehein.com




More information about the FreeNX-kNX mailing list