On Thu, 29 Oct 2009 13:01:44 -0400 Valmor de Almeida <[email protected]> wrote:
> Gilbert wrote: > > On Thu, 29 Oct 2009 11:41:00 -0400 > > Valmor de Almeida <[email protected]> wrote: > > > [...] > >> Thanks for the replies. Gentoo is using the stable version. There is a > >> bug report at > >> > >> http://bugs.gentoo.org/show_bug.cgi?id=289949 > >> > >> the maintainer of windowmaker for the gentoo distro is looking at the > >> problem. > >> > >> -- > >> Valmor > >> > >> > >> -- > >> To unsubscribe, send mail to [email protected]. > > > > Looking closer at the bug report (and the original email) -I suspect the > > problem must be with wmaker-conf. > > Can you post the contents of your ~/GNUstep/defaults/WindowMaker file? > > > > Gilbert > > > > Attached. Thanks, > > -- > Valmor > i really don't see anything obviously wrong with this: WorkspaceBack = (spixmap, "gentoo-water-1600x1200.jpg", white); You might try changing it to something like: WorkspaceBack = (tpixmap, "gentoo-water-1600x1200.jpg", gray20); or use cpixmap instead of tpixmap. I'll be honets that I haven't looked into it enough to understand what spixmap/tpixmap/cpixmap is supposed to do. But, I find it quite strange that you have this problem. One other question -are you perhaps running a 64-bit version of gentoo? Both Carlos' and my branch of wmaker are using a patch which fixes a buffer-overflow on 64-bit systems having to do with the WrokSpaceBack settings. The patch is not part of the official sources (or maybe it finally is??). Anyway, you can tell if the sources you are using have this fix (if you are running 64-bit), by lloking in the sources at the file src/misc.c At around line 1140, the old code looked like this: len = (msg ? strlen(msg) : 0) + (workspace >=0 ? 4 : 0) + 1 ; buffer = wmalloc(len+5); snprintf(buf, len, "%4i", len); memcpy(buffer, buf, 4); buffer[4] = type; The buffer-overflow patch changes it to this: len = (msg ? strlen(msg) : 0) + (workspace >=0 ? 4 : 0) + 1 ; buffer = wmalloc(len+5); snprintf(buf, sizeof(buf), "%4i", len); memcpy(buffer, buf, 4); buffer[4] = type; Mandriva and maybe fedora were using a patch which made it look like this: len = (msg ? strlen(msg) : 0) + (workspace >=0 ? 4 : 0) + 1 ; buffer = wmalloc(len+5); snprintf(buf, 5, "%4i", len); memcpy(buffer, buf, 4); buffer[4] = type; But that would seem to (maybe)not work on 64-bit??? Just trying to be helpful.... Gilbert -- To unsubscribe, send mail to [email protected].
