GNOME Bugzilla – Bug 333827
XShmQueryVersion results are used wrong in case of Imlib_init_with_params
Last modified: 2012-02-24 15:30:26 UTC
This leads to corrupted images in NX 1.5.0 session using for example icewm. Easily fixed using the following patch: --- misc.c.old 2001-05-29 17:11:26.000000000 +0200 +++ misc.c 2006-03-08 00:29:49.000000000 +0100 @@ -137,6 +137,7 @@ id->x.last_xim = NULL; id->x.last_sxim = NULL; id->max_shm = 0x7fffffff; + id->x.shmp = 0; if ((XShmPixmapFormat(id->x.disp) == ZPixmap) && (pm == True)) id->x.shmp = 1; @@ -690,7 +691,9 @@ id->x.last_xim = NULL; id->x.last_sxim = NULL; id->max_shm = 0x7fffffff; - if (XShmPixmapFormat(id->x.disp) == ZPixmap) + id->x.shmp = 0; + if ((XShmPixmapFormat(id->x.disp) == ZPixmap) && + (pm == True)) id->x.shmp = 1; } } cu Fabian
According to http://ftp.gnome.org/pub/GNOME/sources/imlib/ the last tarball release was on 24-Sep-2004. Same for the last code commit: http://git.gnome.org/browse/archive/imlib/log/ Hence this application has been unmaintained for quite a while and its maintainer will not work on it soon. Please feel free to reopen this bug report in the future if anyone takes the responsibility for active development.